Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21185

assign variable powerpoint.presentation

$
0
0
Hello to all!

I have a little problem, I use vb6 to modifications to a powerpoint through code. When I open it from vb6 assigned it to a global variable to handle it from a differents procedures . My question is how to assign the powerpoint to a variable if it was already open before starting my program.

i trying this code but not works

Code:

dim ppt as powerpoint.presentation

Set ppt = GetObject(pptfile) ' pptfile is powerpoint path and filename that is opened


Viewing all articles
Browse latest Browse all 21185

Trending Articles