Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2012, 09:52 AM
webbino webbino is offline Powerpoint and vba Windows XP Powerpoint and vba Office 2007
Novice
Powerpoint and vba
 
Join Date: Feb 2012
Posts: 1
webbino is on a distinguished road
Default 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
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerPoint 2007 --> PowerPoint 2003 Webpage? josephsh PowerPoint 0 06-09-2011 11:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft