#1
|
|||
|
|||
Powerpoint and vba
Greetings to all, are new and with very little experience of language vba :-(!
Using Windows XP sp3, Office 2007 and Acrobat Reader 8. This is my problem. On a slide I have two buttons: one to open the file c: \ one.pdf, the other c: \ two.pdf. I added a form that contains the component Acrobat (acropdf1) and two buttons: one for the other exit form to print the file displayed in acropdf1. This is the code that I associated with the first button: Private Sub CommandButton1_Click () Load UserForm1 UserForm1.Show UserForm1.AcroPDF1.LoadFile "C: \ one.pdf" end Sub but: 1) when I try to open the file, I opened the "first shot", I have to get out form, click the button again and finally I see the pdf file; 2) How do I tell the print button to print the PDF file displayed in the component. Thanks to those who can help me. Hello |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PowerPoint 2007 --> PowerPoint 2003 Webpage? | josephsh | PowerPoint | 0 | 06-09-2011 11:22 PM |