View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Shawn G. Shawn G. is offline
external usenet poster
 
Posts: 35
Default Excel create bookmark

This code is trying to create a bookmark in Word from Excel,
The problem is it creates a bookmark that is the whole document rather than
just the text <Insert link here
Any ideas how to fix this?
Thanks,

With WordDoc.Content.Find
.text = "<Insert link here"
If .Execute Then
WordDoc.Bookmarks.Add Name:="bmRlsPlan", Range:=WordDoc.Content
End If
End With