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
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