Presentations.count in VBA returns false number

  • Thread starter Thread starter elbyc
  • Start date Start date
E

elbyc

Hi,
I'm using PowerPoint 2003 with VBA to open a file, copy two slides
from it and paste them into another file. Before I start, I check to
see if any other files are open in PowerPoint using
"Presentations.count".

For some reason, it's starting to show that there is a presentation
open, but it is not visible. There are no extra instances of
PowerPoint.exe in the task manager (I've closed out and restarted).
Any ideas why this number would be too large?
 
Call the NewWindow() method to get the presentation to show. So, if you
close all presentations and you still see Presentations.Count as 1, call
Presentations(1).NewWindow to show the presentation.

Note that add-ins may open new presentations temporarily for some of the
tasks.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 
Quit PPT.

Use Task Manager to ensure that there are no remaining POWERPNT.EXE
processes; shut down any that are running.

Restart PPT.  Does the extra presentation disappear?

==============================
PPT Frequently Asked Questionshttp://www.pptfaq.com/

PPTools add-ins for PowerPointhttp://www.pptools.com/

It didn't disappear yesterday when I ensured there were now instances
of PowerPoint in my Processes, but I then didn't reboot until last
night. This morning it is runnig smoothly. Thanks Chirag for the tip -
I'll use it next time this mystery occurs.
 
Back
Top