Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Complete Properties details first
Hi All,
Newbie here so sorry if this has been aasked before. I have created a word (2003) template which uses the file properties fields in the document text, e.g. Title and Author. My question is how can I get someone to complete these fields when the template is open. Looked at the ask and fillin but very basic knowledge on scripting and/or macros. Regards Dean |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Complete Properties details first
One simple method .....If you create a new document from your template
containing the following macro, you will not be able to enter anything in the document while the Title field is empty. The macro populates the Author field from the User Information (which it should anyway). Sub AutoNew() Start: With ActiveDocument .BuiltInDocumentProperties(wdPropertyAuthor) = Application.UserName Dialogs(wdDialogFileSummaryInfo).Show If .BuiltInDocumentProperties(wdPropertyTitle) = "" Then MsgBox ("You must enter the document title before proceeding") GoTo Start End If End With End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Dean Jones wrote: Hi All, Newbie here so sorry if this has been aasked before. I have created a word (2003) template which uses the file properties fields in the document text, e.g. Title and Author. My question is how can I get someone to complete these fields when the template is open. Looked at the ask and fillin but very basic knowledge on scripting and/or macros. Regards Dean |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Advanced Document Properties to Standard Properties Window? | Microsoft Word Help | |||
I need to edit the document properties after properties creation. | Microsoft Word Help | |||
how do I get Word to auto complete the complete date? | New Users | |||
altering details | Mailmerge | |||
Document Details | Microsoft Word Help |