View Single Post
 
Old 07-19-2022, 04:40 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,374
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by CellCharger View Post
I am not sure what should be the "Due Date" field type. I added a Rich Text Content Control (I am not sure if this should be another field type).
As per the advice I gave:
Quote:
Originally Posted by macropod View Post
where 'StartDate' is the title of your date-picker content control and 'OffsetDate' is the title of a text content control used for the output.
your "Due Date" (which is not a field in Word parlance) should be either a plain text content control or a rich text content control.
Quote:
Originally Posted by CellCharger View Post
The problem now is that there is no macro to run. I am sorry If I missed something.
Did you add the macro to the 'ThisDocument' module of the document or its template? It won't work if you put it in a different module.
Quote:
Originally Posted by CellCharger View Post
Also, can the due date field be automatically calculated without having to run a macro?
Not when using content controls. It is possible when using formfields in a protected document, but there is no date-picker formfield.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote