Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create a macro button for reloading the data

Dear all,

I would live to create a button in my Qlikview document that reloads the data. Therefore I have entered the following code in my script editor:

sub ReloadSave

ActiveDocument.Reload

end sub

After this I assigned a button with a macro (action) and the macroname:

ReloadSave()

It doesn't work however. Any thoughts on where I go wrong?

3 Replies
sunny_talwar

There is a action which can be used to reload, do you really want to use a Macro here?

Capture.PNG

beck_bakytbek
Master
Master

Hi

Marc for your issue, you can use the macro as well:

Sub AutoReload

ActiveDocument.Reload

End Sub

and you can add: AutoReload under your Button: Action and add Macroname: AutoReload

i hope that helps

beck

marcus_sommer

Your macro-name is only ReloadSave and not ReloadSave() - but take a look on Sunny's suggestion and better use an action for this task.


- Marcus