title: VBA Late Binding Delete Outlook Signature
body: <p>I have a section of code that is causing portability issues between Office 2013 and 2016 due to early vs late binding. I am trying to get this set as late binding to avoid having to uncheck the Word Object library that is of a higher version in the References library. I am unsure how to do this though.</p>
  
  <pre><code>'Function to Delete Auto Signature
   Public Function DelSig(olMsgReplyAll)
  'Delete Automatic Signature
  
  Dim ObjDoc As Word.Document
  Dim oBookmark As Word.Bookmark
  On Error Resume Next
  Set ObjDoc = olMsgReplyAll.GetInspector.WordEditor
  Set oBookmark = ObjDoc.Bookmarks("_MailAutoSig")
  If Not oBookmark Is Nothing Then
      oBookmark.Select
      ObjDoc.Windows(1).Selection.Delete
  End If
  
  DelSig = olMsgReplyAll
  End Function
  </code></pre>