hendrixharrison
Technical User
Hi,
I would like to first say that this site is great and the people here are amazing. Anyway I am wondering if it is possible to integrate Impromptu with MS Access, have VBA open and run imr reports and return back the results as an MS Access table.
Even something similar like this will be ok, like saving imr results to excel if I cant pull it into an access table.
------------------------------
Set objPPRep = CreateObject("CognosPowerPlay.Report")
Me.lblcaption.Caption = "running process 1 0f 4, Better Choice Bundles.xls"
With objPPRep.Open("C:\dir\PPlay1.ppr")
Me.ProgressBar3.Value = 25
objPPRep.SaveAs ("D:\dir\PPlay1.xls"), 4
Set objPPRep = Nothing
End With
Me.lblcaption.Caption = "PPlay1.xls created, Progress 25%"
'End With
-----------------------
The thing is because I do not have admin rights to create macros on impromptu but I really need to massage the data for reporting purposes and hence need to bring it to access. So can anyone help me out writing a vba code to pull these imr results to ms access? I have alot of impromptu reports to run in the morning hence I really really need them automated.
Thanks
I would like to first say that this site is great and the people here are amazing. Anyway I am wondering if it is possible to integrate Impromptu with MS Access, have VBA open and run imr reports and return back the results as an MS Access table.
Even something similar like this will be ok, like saving imr results to excel if I cant pull it into an access table.
------------------------------
Set objPPRep = CreateObject("CognosPowerPlay.Report")
Me.lblcaption.Caption = "running process 1 0f 4, Better Choice Bundles.xls"
With objPPRep.Open("C:\dir\PPlay1.ppr")
Me.ProgressBar3.Value = 25
objPPRep.SaveAs ("D:\dir\PPlay1.xls"), 4
Set objPPRep = Nothing
End With
Me.lblcaption.Caption = "PPlay1.xls created, Progress 25%"
'End With
-----------------------
The thing is because I do not have admin rights to create macros on impromptu but I really need to massage the data for reporting purposes and hence need to bring it to access. So can anyone help me out writing a vba code to pull these imr results to ms access? I have alot of impromptu reports to run in the morning hence I really really need them automated.
Thanks