Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Partner - Creator II
Partner - Creator II

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

View solution in original post

2 Replies
kaushalview
Partner - Creator II
Partner - Creator II

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
Author

thank you very much

cheers

Chrisz