Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Powerplay 8.4 Macro to excel

Status
Not open for further replies.

JuanjoP

Programmer
Apr 18, 2011
1
0
0
ES
Hello,
I have a macro in version 7.3 of the following form and I run through a bat.
Code:

Sub Main()
ObjPPRep Dim como Objeto
Conjunto objPPRep = CreateObject("CognosPowerPlay.Report")
objPPRep.Open(" c:\documents and settings\escritorio\Informe1.ppx")
objPPRep.visible(FALSE)
objPPRep.SaveAs "c:\documents and settings\escritorio\Informe1", 4
Conjunto objPPRep = Nothing
End Sub


bat:

cd c:\archivos de programa\cognos\cognos7\cer4\bin
START/W RUNMAC32.EXE c:\documents and settings\escritorio\Informe1.mcx

Now I have to migrate or redo it in 8.4 and do not know how.
You can help

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top