Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

running a Macro after reload

Dear

I would like to make an image from my worksheet

I made a macro and after connecting it to a button object it works fine.

what i want is that the macro runs straight after the reload is there a away i think i am missing something.

thanks in advance

the macro looks like this

sub Image
ActiveDocument.Sheets("Main").ExportBitmapToFile "d:\Dashboard.jpg"

ActiveDocument.Save
msgbox("There should be a picture!!!")
end sub

1 Solution

Accepted Solutions
kaushalview
Not applicable

running a Macro after reload

Hi,

go to

Setting-->Document Property-->Trigger-->Select On Post Reload-->Click on Add Button on right side

then add Action as Run Macro --> MacroName

Regrads

Kaushal mehta

2 Replies
kaushalview
Not applicable

running a Macro after reload

Hi,

go to

Setting-->Document Property-->Trigger-->Select On Post Reload-->Click on Add Button on right side

then add Action as Run Macro --> MacroName

Regrads

Kaushal mehta

Not applicable

running a Macro after reload

thank you very much

cheers

Chrisz