Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
This may be a simple thing that I am missing.
I am trying to create a button that will apply a document bookmark that is already created, but I will need to clear all other fields prior to applying this action.
Any suggestions?
Please check the API-Guide, there you will find various possibilites to clear selections, like e.g.
ActiveDocument.ClearAll false
Another way might be to untick application over all selection in the bookmarks-option
HTH
Peter
Isn't there a setting on the bookmark you can use. The setting let you choose if you want apply the bookmark on top of the current selection or reset the state as it was when the bookmark was created.
I.e. no need for the clear part.
If you upgrade to QV 9 you can have multiple actions on a single button...
BR
Hans
Hi Hans,
I have a similar situation but here I will have to create a Docbookmark using a Macro. But that DocBookmark created using a macro should be applied on top of the Current selection. Is there a way to set this property while creating a bookmark using a Macro?
Thanks,
Mahi