#1
|
|||
|
|||
Include datestamp in QP text?
Hi There. I'm using the installed version of Office 365. I have several quick parts that contain text snippets that I put in reports. Below is part of an example. The "November 2021" part is not part of the quick part though. Is it possible to put a code in the quick part that will insert the date in the right format (MMMM YYYY)? Note that this date should not be the date that the document is printed. It should simply be the date that the quick part was entered info the report. November 2021, School Psychologist. Jane Doe was administered the Wechsler Primary and Preschool Scale of Intelligence-Forth Ed. (WPPSI-IV). The results are presented as scores below. ... |
#2
|
|||
|
|||
You want to include a date field. I would recommend a CreateDate field.
Using Date Fields in Microsoft Word |
#3
|
|||
|
|||
Yep -- That's what I needed. Thanks Charles!
I made a Quick Part with this Quote:
Quote:
|
#4
|
|||
|
|||
Steve, the DATE field changes any time you open on a new day.
The CREATEDATE field gives the date the document was created. You can unlink the field if you want it to stay the same date in the document. |
#5
|
|||
|
|||
I use a macro for a date stamp and include a MacroButton Field in a quickpart to invoke it. I also have a QAT button to run the macro without the quickpart.
Code:
Sub DateTimeStamp() ' Inserts basic date and time stamp as text ' HansV ' Keyboard shortcut Shift+Alt+D,D ' Selection.TypeText Format(Now, "dddd, d mmmm YYYY - h:mm am/pm") End Sub |
#6
|
|||
|
|||
Excellent! Many thanks.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Make Checkbox value include corresponding field text in another text box? | froswell | Word | 1 | 08-09-2021 04:43 PM |
Sum to include (-)/ Text feature | Haha88 | Excel | 4 | 10-11-2017 02:55 PM |
Is it possible to include an entry in a TOC without the text being in the body? | Makandriaco | Word | 7 | 01-26-2016 03:54 PM |
Macro For Datestamp On ALL Pages Not Working In 2010 | Hatman58 | PowerPoint | 2 | 08-26-2014 05:14 AM |
Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control | skarden | Word | 1 | 12-12-2011 10:39 PM |