View Single Post
 
Old 11-19-2015, 07:13 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you want to delete the bookmark, you need to add code to do just that. For example:
Code:
With ActiveDocument
  If .Bookmarks.Exists("Sig1") = True Then
    With .Bookmarks("Sig1")
      .Range.InlineShapes.AddPicture FileName:="C\Sig1.png"
      .Delete
    End With
  ElseIf .Bookmarks.Exists("Sig2") = True Then
    With .Bookmarks("Sig2")
      .Range.InlineShapes.AddPicture FileName:="C\Sig2.png"
      .Delete
    End With
  End If
End With
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote