Home > Software engineering >  VB how to open the PPT, and then to some action?
VB how to open the PPT, and then to some action?

Time:11-02

Every great god for help.

Specific problems:
1, open VB users own PPT need to reference the VB PPT parts, rather than the Shell;
2, open the PPT is not visible, and automatically run a can customize the VBA code, to achieve a certain operation;
3, after code to run, shut down automatically PPT, the whole process of no safety tips;
Thank you...

CodePudding user response:

Project reference in MS power point nn. Mm library
Dim x As the New PowerPoint. Application

Method and then use the various attributes, specific can open a powerpoint window, enter the macro, into the vb editor, and then see the help on the window, if you install is complete, a variety of components, properties of usage can generally find

CodePudding user response:

The forehead to me is a simplified according to help don't respond...

CodePudding user response:

refer to the second floor zihao2012 response:
my forehead is a lite version according to help don't respond...

Don't have to help or to install a full version

CodePudding user response:

Start recording macros in PowerPoint 2003, manual, complete the required function end record macros, press Alt + F11 key, check just record macro corresponding VBA code,
  •  Tags:  
  • VBA
  • Related