Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
In a Fillin Field, how do I get "th" or "rd" to be in superscript?
Using Word 2003.
I have a fillin field where users enter the date. How do I get the "th" or "rd" to format into superscript automatically. ie 24th December or 3rd December |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
In a Fillin Field, how do I get "th" or "rd" to be in superscript?
Hi Ann,
This requires some field coding and an ASK field instead of a FILLIN field: {QUOTE{ASK MyDate "Please input a date"}{MyDate \@ "dddd 'the' d"}{IF{=(mod({MyDate \@ d},10)4)*(mod({MyDate \@ d},10)0)*({MyDate \@ d}11)*({MyDate \@ d}12)*({MyDate \@ d}13)}= 1 {=mod({MyDate \@ d},10)-2 \# rd;st;nd} th}{MyDate \@ "' of' MMMM, yyyy" }} where the 'rd', 'st', 'nd' and 'th' are all superscripted. Eyes glazing over? Actually most of the above can be found pre-coded in my Date Calc 'tutorial', at: http://www.wopr.com/cgi-bin/w3t/show...?Number=249902 under the heading 'Insert A Date With Text Using A Form Field' (3rd example). All you have to do is to insert the ASK field (ie {ASK MyDate "Please input a date"}, using Ctrl-F9 to create the field braces) and change the 'DATE' instances in the example to 'MyDate' as per the above. Cheers "Ann @ Staples" wrote in message ... Using Word 2003. I have a fillin field where users enter the date. How do I get the "th" or "rd" to format into superscript automatically. ie 24th December or 3rd December |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
FILLIN field, In previous version of word, on opening of.... | Microsoft Word Help | |||
FILLIN Field and Word Template -> Blank document :( | Mailmerge | |||
Bookmarking the FILLIN Field | Microsoft Word Help | |||
FILLIN Field Results | Microsoft Word Help | |||
How do I change the fillin field box code size in Word 2003? | Microsoft Word Help |