A
avkokin
Hello.
There is list of bookmarks into menu made with the macro (see:
http://word.mvps.org/FAQs/Customization/BookmarksToMenu.htm).
By default the list is sort alphabetically. For sort by location I
need to change line "For Each oBookmark In ActiveDocument.Bookmarks"
on "For Each oBookmark In ActiveDocument.Range.Bookmarks". But how to
do it with help the additional item into this menu? For example, the
item menu "Bookmarks" has one additional item "Sort by location"
besides the list of bookmarks. By click on this item should sort of
list by location. By repeat click on this item - restore sort
alphabetically. How to do it?
Thank you very much.
There is list of bookmarks into menu made with the macro (see:
http://word.mvps.org/FAQs/Customization/BookmarksToMenu.htm).
By default the list is sort alphabetically. For sort by location I
need to change line "For Each oBookmark In ActiveDocument.Bookmarks"
on "For Each oBookmark In ActiveDocument.Range.Bookmarks". But how to
do it with help the additional item into this menu? For example, the
item menu "Bookmarks" has one additional item "Sort by location"
besides the list of bookmarks. By click on this item should sort of
list by location. By repeat click on this item - restore sort
alphabetically. How to do it?
Thank you very much.