Thread: [Solved] Word save in folder bookmark
View Single Post
 
Old 07-10-2022, 03:35 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,465
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

That's all very well but, as I said:
Quote:
Originally Posted by macropod View Post
Your bookmark is empty - the number appears after the bookmark, not within it.
You can verify that via:
Code:
Sub Test()
  MsgBox ActiveDocument.Bookmarks("CodiPacient").Range.Text
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote