Re: Power point already open
i would believe that if power point is already open the only change you would have to make is
Quote:
Set ppObject = New PowerPoint.Application
leave out
rgds pete
Re: Power point already open
Take out the ppObject.Presentations.Add line? :)
Re: Power point already open
Quote:
Originally Posted by westconn1
i would believe that if power point is already open the only change you would have to make is
leave out
rgds pete
Can't do that... You'll get an "Object variable or With block variable not set" error...
Re: Power point already open
change if from "new"?
Set ppObject = PowerPoint.Application
or does it even matter if it is already open?
p.
Re: Power point already open
Quote:
Originally Posted by westconn1
change if from "new"?
Set ppObject = PowerPoint.Application
or does it even matter if it is already open?
p.
Then you get an "ActiveX component can't create object" error :)
Re: Power point already open[RESOLVED]
cheers for that, worked by removing the line
VB Code:
ppObject.Presentations.Add
Thanks
Re: Power point already open[RESOLVED]
Quote:
Originally Posted by wallacej
cheers for that, worked by removing the line
VB Code:
ppObject.Presentations.Add
Thanks
You're welcome. Just to point out that if PowerPoint isn't open though, it will cause an error :)