Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have to create a macro which creates bookmark object saving the selections made in the QlikView document.
Can anyone help me on this macro
Thanks,
Pavan
Hi Pavan,
See if this below code helps you
SUB GetSelectedValues
ActiveDocument.RemoveUserBookmark "savecurrentselection"
ActiveDocument.CreateUserBookmark "savecurrentselection"
ActiveDocument.ClearAll
END SUB
SUB RecallSelectedValues
ActiveDocument.RecallUserBookmark "savecurrentselection"
ActiveDocument.RemoveUserBookmark "savecurrentselection"
END SUB
Thanks,
Sarathi
Sub AddBookMark
ActiveDocument.CreateDocBookmark false, "MyBookmark"
End Sub
Hi Wassenaar,
Thanks for your reply
Not only creation of book mark whatever the selections exist in QlikView document, those selection i want to save it in Bookmark through macro
Regards,
Pavan
Hi Pavan,
See if this below code helps you
SUB GetSelectedValues
ActiveDocument.RemoveUserBookmark "savecurrentselection"
ActiveDocument.CreateUserBookmark "savecurrentselection"
ActiveDocument.ClearAll
END SUB
SUB RecallSelectedValues
ActiveDocument.RecallUserBookmark "savecurrentselection"
ActiveDocument.RemoveUserBookmark "savecurrentselection"
END SUB
Thanks,
Sarathi