BambooBart
New Member
- Joined
- Aug 23, 2023
- Messages
- 3
- Office Version
- 2019
- Platform
- Windows
Hi there,
When I select a picture in Word I am as a user able to add a bookmark to that picture. I have been looking for a way to do this using vba. The only examples I find start from a .bmp or picture file. I don't have the picture file, I just want to automate in vba what I can do as a user.
Any suggestions? I tried active document. bookmarks.add name:="test", range:=selection.range where the picture was selected but that gave an error
When I select a picture in Word I am as a user able to add a bookmark to that picture. I have been looking for a way to do this using vba. The only examples I find start from a .bmp or picture file. I don't have the picture file, I just want to automate in vba what I can do as a user.
Any suggestions? I tried active document. bookmarks.add name:="test", range:=selection.range where the picture was selected but that gave an error