Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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? |
#2
![]() |
|||
|
|||
![]()
One way
http://support.microsoft.com/kb/q177760/ Regards, Peo Sjoblom "MATT" wrote: 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? |
#3
![]() |
|||
|
|||
![]() -----Original Message----- One way http://support.microsoft.com/kb/q177760/ Regards, Peo Sjoblom "MATT" wrote: 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? . Note that the link provided by Peo is applicable to Office 97. |
#4
![]() |
|||
|
|||
![]()
It looks like it should run in any version of excel/word, though.
Chuck Davis wrote: -----Original Message----- One way http://support.microsoft.com/kb/q177760/ Regards, Peo Sjoblom "MATT" wrote: 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? . Note that the link provided by Peo is applicable to Office 97. -- Dave Peterson |
#5
![]() |
|||
|
|||
![]()
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" MATT wrote: 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? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I get my personal macro worksheet to open whenever I open . | Excel Discussion (Misc queries) | |||
Paste rows of numbers from Word into single Excel cell | Excel Discussion (Misc queries) | |||
Cannot open a file that Excel says is open | Excel Discussion (Misc queries) | |||
Copying an Excel spreadsheet to a Word document | Excel Discussion (Misc queries) | |||
Open a file in excel from a link in eplorer | Excel Discussion (Misc queries) |