Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2005

Tip: Looking for answers? Try searching our database.

Change Footer in Protected Document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lilbit - 19 Oct 2005 20:12 GMT
I want users to be able to change the footer of a copy of a protected
template.  Is there a macro for that?  Thanks!!
Lilbit - 20 Oct 2005 14:38 GMT
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?
Charles Kenyon - 21 Oct 2005 06:10 GMT
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.
Signature

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

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
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.

>I want users to be able to change the footer of a copy of a protected
> template.  Is there a macro for that?  Thanks!!
Lilbit - 21 Oct 2005 14:07 GMT
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?
Charles Kenyon - 21 Oct 2005 17:50 GMT
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.
Signature

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

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
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.

> 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?
Lilbit - 26 Oct 2005 13:52 GMT
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!!
Charles Kenyon - 26 Oct 2005 14:00 GMT
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.
Signature

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

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
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.

> 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
[quoted text clipped - 5 lines]
> 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!!
Lilbit - 26 Oct 2005 16:14 GMT
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.
Lilbit - 26 Oct 2005 16:08 GMT
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!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.