passing commands to VBA in PPT?

Hi All:

Is there any way to pass a command line parameter to VBA inside a PowerPoint presentation?

We'd like to pass a file name into our program from the command line.

Any thoughts/suggestions?

THANXS!!!!

amb

[247 byte] By [amb_lew] at [2007-12-23]
# 1
<<Is there any way to pass a command line parameter to VBA inside a
PowerPoint presentation?

We'd like to pass a file name into our program from the command line.>>

No, sorry. Most Office applications don't support "command line
parameters". You need a different approach. If you were automating
Powerpoint (rather than "shelling" it), there wouldn't be a problem.

Starting from the command line means you have to store the file name
somewhere the PPT program can access. This could be a simple text file
or an INI file, for example.

CindyMeister at 2007-8-30 > top of Msdn Tech,Microsoft ISV Community Center Forums,Visual Basic for Applications (VBA)...