Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field for day of the week?
I have a date in a block of text that gets manually changed with each
new report. I repeat that date at various places in the document using a STYLEREF field. At one place, I would like to automatically insert the day of the week of this date. Is that possible? Ed |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field for day of the week?
If the text is a date field, you can use formatting switches to get the day
of the week. See http://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Ed from AZ" wrote in message ... I have a date in a block of text that gets manually changed with each new report. I repeat that date at various places in the document using a STYLEREF field. At one place, I would like to automatically insert the day of the week of this date. Is that possible? Ed |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field for day of the week?
No, sorry. It's manually typed in as the date the report is due.
I've dreate a style for it, though, to use the STYLEREF fields to copy it elsewhere in the document. Does that help any? 8/ Ed On Nov 19, 10:35 am, "Suzanne S. Barnhill" wrote: If the text is a date field, you can use formatting switches to get the day of the week. Seehttp://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site:http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Ed from AZ" wrote in ... I have a date in a block of text that gets manually changed with each new report. I repeat that date at various places in the document using a STYLEREF field. At one place, I would like to automatically insert the day of the week of this date. Is that possible? Ed- Hide quoted text - - Show quoted text - |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field for day of the week?
Hi Ed,
The simplest way is to bookmark your date and add a cross-reference to it from the header. Cheers -- macropod [MVP - Microsoft Word] ------------------------- "Ed from AZ" wrote in message ... No, sorry. It's manually typed in as the date the report is due. I've dreate a style for it, though, to use the STYLEREF fields to copy it elsewhere in the document. Does that help any? 8/ Ed On Nov 19, 10:35 am, "Suzanne S. Barnhill" wrote: If the text is a date field, you can use formatting switches to get the day of the week. Seehttp://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site:http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Ed from AZ" wrote in ... I have a date in a block of text that gets manually changed with each new report. I repeat that date at various places in the document using a STYLEREF field. At one place, I would like to automatically insert the day of the week of this date. Is that possible? Ed- Hide quoted text - - Show quoted text - |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field for day of the week?
Yes, it does help. You can use a formatting switch in a StyleRef field. For
example, if the style you created is named MyDate, then this field will show the day of the week for the date that has the style: {StyleRef MyDate \@ "dddd"} Be aware that if the field refers to text that isn't a valid date, the field result will just repeat the text (for example, if the style is applied to the text "November 32, 2007" then the field will also show "November 32, 2007"). And if there is no text with that style, it will show an error message. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Ed from AZ wrote: No, sorry. It's manually typed in as the date the report is due. I've dreate a style for it, though, to use the STYLEREF fields to copy it elsewhere in the document. Does that help any? 8/ Ed On Nov 19, 10:35 am, "Suzanne S. Barnhill" wrote: If the text is a date field, you can use formatting switches to get the day of the week. Seehttp://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site:http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Ed from AZ" wrote in ... I have a date in a block of text that gets manually changed with each new report. I repeat that date at various places in the document using a STYLEREF field. At one place, I would like to automatically insert the day of the week of this date. Is that possible? Ed- Hide quoted text - - Show quoted text - |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Field for day of the week?
Thank you, Jay! That worked great!
Ed On Nov 19, 12:18 pm, "Jay Freedman" wrote: Yes, it does help. You can use a formatting switch in a StyleRef field. For example, if the style you created is named MyDate, then this field will show the day of the week for the date that has the style: {StyleRef MyDate \@ "dddd"} Be aware that if the field refers to text that isn't a valid date, the field result will just repeat the text (for example, if the style is applied to the text "November 32, 2007" then the field will also show "November 32, 2007"). And if there is no text with that style, it will show an error message. -- Regards, Jay Freedman Microsoft Word MVP FAQ:http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Ed from AZ wrote: No, sorry. It's manually typed in as the date the report is due. I've dreate a style for it, though, to use the STYLEREF fields to copy it elsewhere in the document. Does that help any? 8/ Ed On Nov 19, 10:35 am, "Suzanne S. Barnhill" wrote: If the text is a date field, you can use formatting switches to get the day of the week. Seehttp://word.mvps.org/FAQs/TblsFldsFms/DateFields.htm -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site:http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Ed from AZ" wrote in ... I have a date in a block of text that gets manually changed with each new report. I repeat that date at various places in the document using a STYLEREF field. At one place, I would like to automatically insert the day of the week of this date. Is that possible? Ed- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cut and paste option is not available (was working last week) | Microsoft Word Help | |||
How to master Microsoft Word in a week ? | Microsoft Word Help | |||
100 Word docs per week | Microsoft Word Help | |||
how do you get a 5 week calendar | Microsoft Word Help | |||
Subtract a week using field code? | Page Layout |