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.
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.
FollowHyperlink is the simplest way for PDF, Not sure about the Outlook though.
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
I did some research and found this:
[VBA]expression.FollowHyperlink(Address, SubAddress, NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo)[/VBA]
What is expression?
[VBA]Sub TestPdf()
ActiveWorkbook.FollowHyperlink "C:\AAA\Range.pdf"
End Sub
[/VBA]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'