Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Ann @ Staples
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
macropod
 
Posts: n/a
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FILLIN field, In previous version of word, on opening of.... CK Microsoft Word Help 3 May 24th 05 09:02 AM
FILLIN Field and Word Template -> Blank document :( JMP Mailmerge 11 February 28th 05 08:01 PM
Bookmarking the FILLIN Field DGjr. Microsoft Word Help 1 February 25th 05 08:32 PM
FILLIN Field Results Tonya Marshall Microsoft Word Help 3 February 3rd 05 10:19 PM
How do I change the fillin field box code size in Word 2003? Diane Microsoft Word Help 1 January 24th 05 03:55 PM


All times are GMT +1. The time now is 08:41 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"