• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Internal application|| taking a snapshot after every 15 mins.

rabi.05

New Member
Hi team,

There is an internal application call CC Pulse, which helps us to prepare a hourly report. However we have take a snapshot every hour.

I am trying to prepare a macro which will save a copy of this software every hour. Could you please help me to prepare this macro.

I have written a code whichonly open this application. However taking a snapshot not working. Manually I have to open the application and press short cut key alt+F+h or go to file and save a copy as xml.

Please check the below code and help me.

Code:
Sub StartCc()
Dim Program As String
Dim TaskID As Double
On Error Resume Next
Program ="ccpulse.exe"
TaskID = Shell(Program, 1)
If Err <> 0 Then
MsgBox “Cannot start “ & Program,
vbCritical, “Error”
End
 
Last edited by a moderator:
Top