Is there a way to require a user to type one of three phrases in a footer on every Word document he/she saves, regardless of which template is used? For example, if a user is trying to save a document without the words, "confidential" or "open" or "n/a" in the footer is there a way to force them to type one of the three words before the document can be saved? If not in all templates, at least in the Normal.dot? Thank you
I would put a Docvariable field in the footer of the template and have an autonew macro in the template display a userform with radio buttons for the three options and have code in a command button set the value of a document variable to the appropriate text and update the fields in the footer so that the appropriate classification was displayed, -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Alex" wrote in message news:D748E4CB-43A2-47D3-AE4D-501E1856A71F@microsoft.com... > Is there a way to require a user to type one of three phrases in a footer > on > every Word document he/she saves, regardless of which template is used? > For > example, if a user is trying to save a document without the words, > "confidential" or "open" or "n/a" in the footer is there a way to force > them > to type one of the three words before the document can be saved? If not > in > all templates, at least in the Normal.dot? Thank you
If you want to impose this on *every* document saved, regardless of template then you will need to have code in a global template which is set up for all users - in the Application DocumentBeforeSave Event. It might take some smart coding to deal with whatever else might happen to already be in a particular document's footer. -- Enjoy, Tony "Alex" wrote in message news:D748E4CB-43A2-47D3-AE4D-501E1856A71F@microsoft.com... > Is there a way to require a user to type one of three phrases in a footer on > every Word document he/she saves, regardless of which template is used? For > example, if a user is trying to save a document without the words, > "confidential" or "open" or "n/a" in the footer is there a way to force them > to type one of the three words before the document can be saved? If not in > all templates, at least in the Normal.dot? Thank you