Automate PPT macro execution from VB.NET

E

emailceloftis

I've got a VB.NET program that opens a PPT presentation, then executes
a module using the following code:
appPPT.Run("'" & PPT_Pres_Name & "'!" & MODULE_NAME)

The problem I am having is that some of the PPT_Pres_Names have
embedded special characters like single quote, apostrophe,
exclamation, etc.

Anyone have suggestions on how to deal with this (other than renaming
the PPT_Pres file)?

Thanks

Charles
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top