Properties Dialog Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Good day,
I am trying to find a way to have the "Manager" field to be filled out by
default just like the "Author" field is filled out by default. Is there
someplace that I can set a default Manager?
Thanks for your support.
Bill Wilson
 
I don't think there is any built-in method to automatically insert a value in
the Manager field. However, you can use a macro named AutoNew to accomplish
this. The following macro will insert "My Title" as the value in the Manager
field:

Sub AutoNew()
ActiveDocument.BuiltInDocumentProperties(wdPropertyManager).Value = "My
Title"
End Sub

If you store the macro in your Normal.dot, it will run whenever you create a
new document. If you store it in another template, it will run whenever you
create a new document based on that template.

For information about how to install a macro, see:
http://www.gmayor.com/installing_macro.htm

For information about running a macro automatically when a document is
created, opened or closed, see:
http://word.mvps.org/faqs/macrosvba/DocumentEvents.htm

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 
Thanks, I will give this a try and follow up next week with an answer at to
if this will serve my needs.
Again, Thanks for your assistance.

Bill Wilson
 
Wouldn't it work just to add the title to the Manager field in the
Properties of Normal.dot?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
That didn't work, I did have to utilize the macro, and then all was well.
 
You're right: it doesn't work. I wonder why. You'd think anything you put in
Normal.dot would be propagated to documents based on it.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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

Back
Top