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

Make Macro to run on the Server Automatic Reloads

HI,

Could anyone help me running the following macro script which is on OnPostReload event of the document but we want this whenever server auto reloads , FYI.....when the script is run through the button it worked.

ActiveDocument.Sheets("Main").ExportBitmapToFile "C:\temp\Graphxxxxxxx" & replace(FormatDateTime(now(),vbShortTime),":","") & ".jpg"

Thanks

Shekhar

1 Reply
biester
Specialist
Specialist

Reloads by Standard Publisher (if you mean that by "Server Automatic Reloads") do not execute any macros - this works as designed. I'm afraid you have to think of another solution.

Rgds,
Joachim