I would like to create a macro in excel that loads a specific word document
in MSword! Any Ideas?
I would like to create a macro in excel that loads a specific word document
in MSword! Any Ideas?
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?
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?
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?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks