Quote:
Originally Posted by gmaxey
You can Shanghai one on the other document properties for your purposes. For example to use the one called "Status", insert it in the document and then select its tab.
Run this code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
With Selection.ContentControls(1)
.Type = wdContentControlDate
.Title = "Date signed (or whatever)"
End With
End Sub
Viola!
See: http://gregmaxey.com/word_tip_pages/...ng_macros.html for instructions to employ the VBA code provided above.
You could also create and map your own Date type content control. See:
http://gregmaxey.com/word_tip_pages/...rol_tools.html
|
Thanks for the help, Greg.
Unfortunately, I cant get it to work. Do I need to change the title in the code to whatever I title the Content Control?
I m using "Status" from document property.