Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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(wdPropert yManager).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 "Bill Wilson" wrote: 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 |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 "Lene Fredborg" wrote: 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(wdPropert yManager).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 "Bill Wilson" wrote: 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 |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Lene Fredborg" wrote in message ... 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(wdPropert yManager).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 "Bill Wilson" wrote: 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 |
#5
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
That didn't work, I did have to utilize the macro, and then all was well.
"Suzanne S. Barnhill" wrote: 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 Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Lene Fredborg" wrote in message ... 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(wdPropert yManager).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 "Bill Wilson" wrote: 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 |
#6
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Bill Wilson" wrote in message ... That didn't work, I did have to utilize the macro, and then all was well. "Suzanne S. Barnhill" wrote: 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 Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Lene Fredborg" wrote in message ... 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(wdPropert yManager).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 "Bill Wilson" wrote: 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 |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What is a Tag in the Content Control Properties dialog box? | Microsoft Word Help | |||
Data Link Properties Dialog Box | Mailmerge | |||
Why does the Document Properties Dialog not appear on Save As? | Microsoft Word Help | |||
Data Link Properties Dialog Box | Mailmerge | |||
properties in open dialog box | Microsoft Word Help |