December 1999
Intermediate to advanced
480 pages
11h 5m
English
IN THIS CHAPTER
Sending Data to PowerPoint
Getting Data from PowerPoint
Querying PowerPoint for Visio's Use
Severing the Connection
As we saw with Visio earlier, there are three methods of contacting PowerPoint, the application from within Visio: GetObject(), CreateObject(), and New. The first of these presumes that PowerPoint is already up and running. The second and third assume nothing and will launch a new copy of PowerPoint even if it is already running. Listing 24.1 is the syntax.
Public Sub RunPowerPoint1() Dim pptApp As PowerPoint.Application Set pptApp = GetObject(,"PowerPoint.Application") pptApp.Visible ... |
Read now
Unlock full access