Open Word Doc From Excel Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an Excel Sheet that contains Macros. At the end of one of the Macros,
I would like it to open a Word Document. Something like Document.open
FileName:="C:\Path\name.doc", except it needs to run from the Excel sheet.
Is there a way to do this?
 
It looks like it should run in any version of excel/word, though.
 
If you're not trying to control word from excel, you could just start your
document:

Shell "Start ""c:\path\name.doc"""

(just add that line into your code.)

You could even use a hyperlink (placed on the worksheet or started in code):

ActiveWorkbook.FollowHyperlink Address:="c:\path\name.doc"
 

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

Back
Top