Sep 14, 2003 #1 Phi1Smith Programmer Joined Jun 5, 2001 Messages 33 Location GB Hi Does anyone know how to get the name of a Bookmark of any currently selected text in a MSWord document. Many Thanks in advance Phil
Hi Does anyone know how to get the name of a Bookmark of any currently selected text in a MSWord document. Many Thanks in advance Phil
Sep 14, 2003 2 #2 TonyJollans Programmer Joined Dec 18, 2002 Messages 7,186 Location GB Hi Phi1Smith, Code: Dim bmark As BookMark For Each bmark in Selection.Bookmarks Msgbox bmark.Name Code: ' Or whatever you want to do with it Code: Next bmark Enjoy, Tony Upvote 0 Downvote
Hi Phi1Smith, Code: Dim bmark As BookMark For Each bmark in Selection.Bookmarks Msgbox bmark.Name Code: ' Or whatever you want to do with it Code: Next bmark Enjoy, Tony
Sep 14, 2003 Thread starter #3 Phi1Smith Programmer Joined Jun 5, 2001 Messages 33 Location GB Tony Thank you so much, this has been bugging me on and off for a couple of weeks. So simple when you see it. Thanks Again Phil Upvote 0 Downvote
Tony Thank you so much, this has been bugging me on and off for a couple of weeks. So simple when you see it. Thanks Again Phil