2 Replies Latest reply: Feb 16, 2010 3:10 PM by shekharestha RSS

    Run script on server reload

      Hi

      While server does the scheduled reload, does it trigger the event OnPostReload too? I get nothing in the target folder when using following macro script OnPostReload event, but when the script is run through the button click event on the client it worked.

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

      I just wanted to take snapshot of document after the reloads.

       

      Thanks