K
kkizer
i have created a commandbarbutton in Visual Studio using vb.net and i
am trying to capture the name of the powerpoint file that i have open.
i figured it would be very simple but i guess not. i think the problem
is that there is no "activepresentation" and i cannot figure how to
make it an active presentation
using this code does nothing.
theDoc = Me.pptApp.ActivePresentation.Name.ToString
MsgBox(theDoc)
i have even tried to see if i could just close the presentation by
me.pptApp.ActivePresentation.close()
whats going on? im lost!
am trying to capture the name of the powerpoint file that i have open.
i figured it would be very simple but i guess not. i think the problem
is that there is no "activepresentation" and i cannot figure how to
make it an active presentation
using this code does nothing.
theDoc = Me.pptApp.ActivePresentation.Name.ToString
MsgBox(theDoc)
i have even tried to see if i could just close the presentation by
me.pptApp.ActivePresentation.close()
whats going on? im lost!