PPT97: CreateObject Does Not Create New PowerPoint Session (161627)
The information in this article applies to:
- Microsoft PowerPoint 97 for Windows
This article was previously published under Q161627 SYMPTOMS
When using the CreateObject function, used to control the Microsoft
PowerPoint object model from Microsoft Visual Basic for Applications code,
you may notice the following behavior:
- If PowerPoint is running, a new instance of PowerPoint is not created.
-or-
- If PowerPoint is not running, a new instance is created.
This behavior is normal.
CAUSE
PowerPoint is a single-session program. CreateObject cannot create a new
instance of PowerPoint if it is already running. This behavior is similar
to the Visual Basic GetObject function.
REFERENCES
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbdtacode kbinfo kbmacro kbProgramming KB161627 |
---|
|