Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Print Button to Individual PowerPoint Slides

Status
Not open for further replies.

Zwinggi

MIS
Aug 8, 2002
1
US
Is there a way to reference the printing function in powerpoint through an individual vb command button inserted onto various slides?
 
Sure, just put the following line of code in the click event of the command button to print the presentation:

ActivePresentation.PrintOut


This will simply print out the current presentation when you run the presentation and click on the button. If you want to access more functions, use the properties

ActivePresentation.PrintOptions

and

ActivePresentation.PageSetup

for whatever you need (put a dot afterwards and select the property you want). Hit F1 while the cursor is on "PrintOptions" or "PageSetup" to get more information about using these properties.


Christopher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top