Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would like to create a macro in excel that loads a specific word document
in MSword! Any Ideas? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try:
Sub Macro1() x = Shell("cmd.exe /c C:\Userguide.doc", 1) End Sub -- Gary's Student "Prohock" wrote: I would like to create a macro in excel that loads a specific word document in MSword! Any Ideas? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Gary, Sorry I am very new to this. How do I set the "x" variable so that
this can work? "Gary''s Student" wrote: Try: Sub Macro1() x = Shell("cmd.exe /c C:\Userguide.doc", 1) End Sub -- Gary's Student "Prohock" wrote: I would like to create a macro in excel that loads a specific word document in MSword! Any Ideas? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The code will set it.
-- Gary''s Student "Prohock" wrote: Hi Gary, Sorry I am very new to this. How do I set the "x" variable so that this can work? "Gary''s Student" wrote: Try: Sub Macro1() x = Shell("cmd.exe /c C:\Userguide.doc", 1) End Sub -- Gary's Student "Prohock" wrote: I would like to create a macro in excel that loads a specific word document in MSword! Any Ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2 questions: Using solver in Macro AND converting to Word document to print A3 | Excel Discussion (Misc queries) | |||
How do I import an excel spreadsheet to a word document | Excel Discussion (Misc queries) | |||
Excel macro that opens new MS Word file and pastes data as a pictu | Excel Worksheet Functions | |||
Excel startup switches | Excel Discussion (Misc queries) | |||
Word document embedded in Excel 2003 won't wrap | Excel Discussion (Misc queries) |