PDA

View Full Version : How to open Other file types



Djblois
06-03-2009, 07:14 AM
I would like to know how do I open a PDF file and also how do I open a Outlook template in Excel using code.

mdmackillop
06-03-2009, 07:17 AM
FollowHyperlink is the simplest way for PDF, Not sure about the Outlook though.

Djblois
06-03-2009, 07:21 AM
I did some research and found this:

expression.FollowHyperlink(Address, SubAddress, NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo)

What is expression?

mdmackillop
06-03-2009, 07:36 AM
Sub TestPdf()
ActiveWorkbook.FollowHyperlink "C:\AAA\Range.pdf"
End Sub