I would like to create a macro in excel that loads a specific word document
in MSword! Any Ideas?
Try:
Sub Macro1()
x = Shell(quot;cmd.exe /c C:\Userguide.docquot;, 1)
End Sub
--
Gary's Studentquot;Prohockquot; wrote:
gt; I would like to create a macro in excel that loads a specific word document
gt; in MSword! Any Ideas?
Hi Gary, Sorry I am very new to this. How do I set the quot;xquot; variable so that
this can work?
quot;Gary''s Studentquot; wrote:
gt; Try:
gt;
gt; Sub Macro1()
gt; x = Shell(quot;cmd.exe /c C:\Userguide.docquot;, 1)
gt; End Sub
gt; --
gt; Gary's Student
gt;
gt;
gt; quot;Prohockquot; wrote:
gt;
gt; gt; I would like to create a macro in excel that loads a specific word document
gt; gt; in MSword! Any Ideas?
The code will set it.
--
Gary''s Studentquot;Prohockquot; wrote:
gt; Hi Gary, Sorry I am very new to this. How do I set the quot;xquot; variable so that
gt; this can work?
gt;
gt; quot;Gary''s Studentquot; wrote:
gt;
gt; gt; Try:
gt; gt;
gt; gt; Sub Macro1()
gt; gt; x = Shell(quot;cmd.exe /c C:\Userguide.docquot;, 1)
gt; gt; End Sub
gt; gt; --
gt; gt; Gary's Student
gt; gt;
gt; gt;
gt; gt; quot;Prohockquot; wrote:
gt; gt;
gt; gt; gt; I would like to create a macro in excel that loads a specific word document
gt; gt; gt; in MSword! Any Ideas?
- Feb 22 Thu 2007 20:35
help creating a macro in excel that opens a specific word document
close
全站熱搜
留言列表
發表留言