Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Dean Jones Dean Jones is offline
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Document Properties to Standard Properties Window? TychaBrahe Microsoft Word Help 1 April 3rd 08 12:25 AM
I need to edit the document properties after properties creation. Jed Microsoft Word Help 3 October 7th 07 12:17 AM
how do I get Word to auto complete the complete date? No Name New Users 8 September 25th 07 02:26 PM
altering details Boots Mailmerge 6 June 15th 06 10:42 AM
Document Details JRS Microsoft Word Help 1 May 17th 05 10:10 PM


All times are GMT +1. The time now is 11:36 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"