Shell for Outlook

W

WhytheQ

is it possible to use something similar to the below to open a .msg
file from within an Excel macro (I've used the below previously to open
pdfs)

Public Function OpenOLfile(PDFFile As String) As Double
Shell "C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe " &
PDFFile, _
vbNormalFocus
End Function

Any help greatly appreciated,
Jason.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top