When I try to twirl this code I appear the following error: ActiveX component can't create object
Dim objImpApp as Object
Dim objImpRep as Object
Set ImpApp = CreateObject("Impromptu.Application"
Set objImpRep = objImpApp.OpenReport("c:\sales\fy93tot.imr"
objImpRep.RetrieveAll
objImpRep.Print 1, 4, 1
objImpRep.CloseReport
objImpApp.Quit
Set objImpRep = Nothing
Set objImpApp = Nothing
How to resolve the problem?
Thank you
Dim objImpApp as Object
Dim objImpRep as Object
Set ImpApp = CreateObject("Impromptu.Application"
Set objImpRep = objImpApp.OpenReport("c:\sales\fy93tot.imr"
objImpRep.RetrieveAll
objImpRep.Print 1, 4, 1
objImpRep.CloseReport
objImpApp.Quit
Set objImpRep = Nothing
Set objImpApp = Nothing
How to resolve the problem?
Thank you