Date Picker on Form - Microsoft Community


i developed form date picker added for "date requested" field.    upon opening form date current date.  how can make happen? 

thank you!  becky b.

[moved from: office / word / windows other / office 2010]

assuming saving form template , using file>new , selecting template when want use form, give contentcontrol title such daterequested , have following code in autonew macro in template

sub autonew()

dim cc contentcontrol

for each cc in activedocument.contentcontrols

    if cc.title = "daterequested" then

        cc.range.text = date

        exit for

    end if

next cc

end sub



Office / Word / Microsoft Office Programming / Office 2010



Comments

Popular posts from this blog

Can't Sign-in to OneDrive - Microsoft Community

Shared mailbox permissions - Microsoft Community

Outlook 2016 for Mac - Multiple Issues, Error 17884 - Microsoft Community