View Single Post
 
Old 10-14-2014, 05:39 AM
ksigcajun ksigcajun is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by gmaxey View Post
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.
Reply With Quote