PDA

View Full Version : open powerpoint slide



meh485
07-26-2006, 01:40 PM
hi all
i am completely new to writing macros for powerpoint, although i am familiar with macros in excel.

so my question is how can i open file2.pps while i am in file1.pps.
for example in file1.pps i have the following line
presentations.open("c:\file2.pps")

when i open file1.pps, file2.pps wont open and i assume that because the macro is not being triggered, so how can i make i trigger it to happen?

thank you all

lucas
07-27-2006, 01:51 PM
I may be wrong but I don't think you can run things on open in powerpoint. I was not able to get autoExec to work either....maybe someone else knows better(likely) but you can run it from a button or menu item.

shades
08-04-2006, 09:20 AM
It may be that ShellExecute approach is the way to go. Check out this (http://www.rdpslides.com/pptfaq/FAQ00479.htm).