Saving a document from a template into same location

  • Thread starter Thread starter nLinked
  • Start date Start date
N

nLinked

If I have made a template in Word 2007 (.dotx), and I open it, edit it and
save it as a document (.docx), I want it to show the Save As dialogue
pointing in the same location as that template was in. By default, the Save
As window shows the default saving folder (which is set as my Documents
folder). Is there a way so that it opens the Save As window on the same
place that the template was in, even if I have templates in different
locations?
 
It is neither normal nor desirable to save documents into the template
folder. Why do you want to do this?
Nor is it usual to open templates and save as document. The normal procedure
is to create a new document from a template.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
I make my own templates and save them as Dotx files. I place these into
relevent folders rather than Office's default templates folder. I was hoping
that opening my template would save it into the same folder it came from. Is
there a way to do this?
 
Opening any document or template will save it to the folder it was opened
from - problem is that you for some bizarre reason want to save documents
into the templates folder. Word always saves documents into the last used
document folder, which by default is the folder defined in File Locations as
the documents folder.

You can force the active document path with the following macro

Sub AutoNew()
ChangeFileOpenDirectory ActiveDocument.AttachedTemplate.Path
End Sub

saved in a dotm template, provided you create new documents from the
template, rather than open and save, but it is still a ridiculous thing to
do. Unless the template is saved in Word's trusted file location the macro
won't run.

I take no responsibility for the consequences of operating Word in a manner
that was not intended by Microsoft.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top