PDF Active X in Microsoft excel

varoon

New Member
Joined
Mar 18, 2010
Messages
10
I want to view pdfs in microsoft excel using active x controls. i have designed a window using control toolbox available in excel 2003. can assist me for viewing the pdf in that window. i am novice and know very less of activex controls..
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Welcome to the Board.

You can use Insert|Object to insert the PDF file as an icon and doublle click to view it.

Or you can add a Web Browser Control and a CommandButton:

Code:
Private Sub CommandButton1_Click()
'***Change to suit
    Const FileName As String = "P:\Temp\PDFFile.pdf"
    WebBrowser1.Navigate FileName
End Sub
 
Upvote 0
I doesn't work.. there is an error saying object missing. is it possible to use active x and open it within excel rather than html browser
 
Upvote 0
I couldn't find the web browser activex control in the toolbox..
Instead i tried using acrobat adobe reader activex.

Private Sub AcroPDF1_GotFocus()
AcroPDF1.Visible = True
fileNameX = "C:\Documents and Settings\ar\Desktop\1.pdf"
AcroPDF1.LoadFile fileNameX
sub

This also doesn't work. when i hover / click the embeded window in the excel sheet. there is no preview
 
Upvote 0

Forum statistics

Threads
1,226,346
Messages
6,190,393
Members
453,609
Latest member
iamcpdev

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top