Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
has anybody working examples how to use ImportBookmarks and ExportBookmarks API methods in vb macros?
1.) In QVPlugin, I export user bookmarks with command ExportUserBookmarks, creating file UserBookmarks.BM.xml.
2.) When I try to re-import UserBookmarks.BM.xml, funny things start to happen:
a.) Document bookmarks are suddenly visible as imported server user bookmarks
b.) Using option "2=Use Import File" "ImportBookmarks <file> 2" does not overwrite the old bookmark, but just duplicate it.
Thx - Marcel
Hi, you could set all the selection and save the bookmark via macro
ActiveDocument.CreateUserBookmark "NAMEBOOKMARK"
good luck
Fernando
Hi
thank you for the answer, but I want to use the export and import api commands. This allows me to e.g. rename selected fields in the xml document and then to reimport the changed xml file.
Marcel