robhargreaves
Board Regular
- Joined
- Feb 6, 2005
- Messages
- 85
Hi I know its not strictly MrWord and I am sure a lot of people here like me thought vba for word was just for creating custom menu buttons.
How narrow minded I was being. I am working on a way to create a bookmark in word automatically and I have found the code to do it but I dont know how I would adapt it to add 3000 bookmarks sequentially from 0-2999.
Here is the code
If anyone can help then thanks a lot
Rob
How narrow minded I was being. I am working on a way to create a bookmark in word automatically and I have found the code to do it but I dont know how I would adapt it to add 3000 bookmarks sequentially from 0-2999.
Here is the code
Code:
With ActiveDocument.Bookmarks
.Add Range:=Selection.Range, Name:="Name"
.DefaultSorting = wdSortByName
.ShowHidden = False
End With
If anyone can help then thanks a lot
Rob