K
Krumrei
I need to be able to import a style within from my C:\ drive location to the
active document.
However, since this macro is going to be run on several different documents
with several different locations, I cannot simply code the Macro to look at a
specific locaiton. I have to allow the macro to put the new style into the
ActiveDocument that is open at the time, no matter what the locaiton is.
Here is the code that I started, but not sure how to apply it to the openly
active document? The Destination of C:\Documents and
Settings\20336453\Desktop\Comm.doc needs to be just the open document.
Application.OrganizerCopy Source:= _
"C:\cr147\Microsoft_Word_ACSSC_Styles_Template.dot", Destination:= _
"C:\Documents and Settings\20336453\Desktop\Comm.doc", Name:= _
"Indent 3_ACS", Object:=wdOrganizerObjectStyles
active document.
However, since this macro is going to be run on several different documents
with several different locations, I cannot simply code the Macro to look at a
specific locaiton. I have to allow the macro to put the new style into the
ActiveDocument that is open at the time, no matter what the locaiton is.
Here is the code that I started, but not sure how to apply it to the openly
active document? The Destination of C:\Documents and
Settings\20336453\Desktop\Comm.doc needs to be just the open document.
Application.OrganizerCopy Source:= _
"C:\cr147\Microsoft_Word_ACSSC_Styles_Template.dot", Destination:= _
"C:\Documents and Settings\20336453\Desktop\Comm.doc", Name:= _
"Indent 3_ACS", Object:=wdOrganizerObjectStyles