Change Footer in Protected Document

L

Lilbit

I want users to be able to change the footer of a copy of a protected
template. Is there a macro for that? Thanks!!
 
L

Lilbit

Please disregard previous question. Actually, is it possible to put
filename code in the footer of the protected master template so that when
a user does File, Save As, the footer in the new template will
automatically change depending on where the user puts the new template?
Also, is it possible to create code so that when a user does File, Save
As, the new template will be saved as a .dot file?
 
C

Charles Kenyon

Is there something specific you want them to be able to change or do you
want them to be able to do anything they want? If the latter, it will open
up your document to editing. It is likely that what you want them to be able
to do can be done using the StyleRef field and/or Document Properties and
DocProperty fields.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
L

Lilbit

Is it possible to put filename code in the footer of the protected master
template so that when a user does File, Save As, the footer in the new
template will automatically change depending on where the user puts the
new template? Also, is it possible to create code so that when a user does
File, Save
As, the new template will be saved as a .dot file?
 
C

Charles Kenyon

You are having your users _open_ templates and use Save As rather than
create new documents based on the template? Why? By design, templates are
not supposed to be routinely opened and resaved under a new name.

You can put a filename field in the footer of a template. See
http://gregmaxey.mvps.org/File_Name_And_Path.htm for ideas on changing the
Save and Save As features to update this field automatically. With a
protected document, you may have to also add code to unprotect the document,
do the update, and reprotect without resetting field contents, and then
save, not sure.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
L

Lilbit

Kenyon: Thanks for your response. Here, we recommend users open the
template and save it as a new document. That way, (1) they won't have to
blank out the fields in a used template to create a new one, and (2) if
minor changes are required in files they created in the past, they won't
have to recreate the files. In your instruction, you said "you may have
to also add code to unprotect the document, do the update, and reprotect
without resetting field contents, and then save, not sure." The "not
sure" was funny. If you don't know, believe me, I don't. I'll access the
sites you provided to see if they are of any help. Thanks!!
 
C

Charles Kenyon

To distinguissh.
Opening a template means that the template itself (the *.dot) file is on the
screen. Generally, an open template should _not_ be saved as a document. In
an open template, clicking on Save will save any changes made to the
template file, itself.

The regular way to create a new document based on a template is to either
use File > New and select the template as the basis for a new document or to
double-click on the template's icon or shortcut. This creates a new
(unnamed) document based on the template. Clicking on Save will bring up the
dialog to assign a name (and location) to the newly created document.

http://addbalance.com/usersguide/templates.htm

The reason I said I'm not sure, is that I'm not sure I understand what it is
you are doing or attempting to do.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide


--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
L

Lilbit

Kenyon: Thanks for your response. Here, we recommend users open the
template and save it as a new document. That way, (1) they won't have to
blank out the fields in a used template to create a new one, and (2) if
minor changes are required in files they created in the past, they won't
have to recreate the files. In your instruction, you said "you may have
to also add code to unprotect the document, do the update, and reprotect
without resetting field contents, and then save, not sure." The "not
sure" was funny. If you don't know, believe me, I don't. I'll access the
sites you provided to see if they are of any help. Thanks!!
 
L

Lilbit

Kenyon: Ah so!! Yes, this would be the easiest way, but unfortunately,
the users of this template are on different file servers and I don't have
access to all of them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top