WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Formating field as ordinal number in Word 2007 - issue AND..

 
Goto page 1, 2
   Home -> Office -> Numbering RSS
Next:  Cannot attach encrypted file to outgoing message  
Author Message
Christian Schratter

External


Since: Mar 04, 2009
Posts: 5



(Msg. 1) Posted: Wed Mar 04, 2009 9:01 am
Post subject: Formating field as ordinal number in Word 2007 - issue AND crash
Archived from groups: microsoft>public>word>numbering (more info?)

Hello.

I'm trying desperately to create a field in Word 2007 which should display
todays day and the ordinal suffix (e.g. 27th).
So far I've managed to find out, that by adding \*Ordinal to the field
syntax, the ordinal suffix should display (and it indeed does).

The crash:
If I right-click a field, which has the mentioned \*Ordinal in it's syntax,
and choose "edit field" (which should open up the mask for fields), Word
crashes. This behaviour is 100% repeatable.

The issue:
As mentioned, it's possible to add the \*Ordinal option to a field when
using the option "field function on/off". What I'd like to do, is to format
the ordinal suffix in superscript. Any ideas on how to do that?

I'd be more than happy over any inputs or additionnal comments on the issues
above.

Kind regards, Chris
Back to top
Login to vote
Doug Robbins - Word MVP o

External


Since: Feb 23, 2009
Posts: 25



(Msg. 2) Posted: Wed Mar 04, 2009 8:05 pm
Post subject: Re: Formating field as ordinal number in Word 2007 - issue AND crash [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just select the ordinal and format it.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Christian Schratter" <ChristianSchratter DeleteThis @discussions.microsoft.com> wrote
in message news:05E66D0E-B9A1-4244-A76B-4E9951B16F9E@microsoft.com...
> Hello.
>
> I'm trying desperately to create a field in Word 2007 which should display
> todays day and the ordinal suffix (e.g. 27th).
> So far I've managed to find out, that by adding \*Ordinal to the field
> syntax, the ordinal suffix should display (and it indeed does).
>
> The crash:
> If I right-click a field, which has the mentioned \*Ordinal in it's
> syntax,
> and choose "edit field" (which should open up the mask for fields), Word
> crashes. This behaviour is 100% repeatable.
>
> The issue:
> As mentioned, it's possible to add the \*Ordinal option to a field when
> using the option "field function on/off". What I'd like to do, is to
> format
> the ordinal suffix in superscript. Any ideas on how to do that?
>
> I'd be more than happy over any inputs or additionnal comments on the
> issues
> above.
>
> Kind regards, Chris
Back to top
Login to vote
Christian Schratter

External


Since: Mar 04, 2009
Posts: 5



(Msg. 3) Posted: Wed Mar 04, 2009 8:05 pm
Post subject: Re: Formating field as ordinal number in Word 2007 - issue AND cra [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I tried that, but that's a one time fix - if I update the field the formating
will be lost.


"Doug Robbins - Word MVP on news.microsof" wrote:

> Just select the ordinal and format it.
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
Back to top
Login to vote
macropod

External


Since: Jul 02, 2008
Posts: 746



(Msg. 4) Posted: Wed Mar 04, 2009 9:05 pm
Post subject: Re: Formating field as ordinal number in Word 2007 - issue AND crash [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Christian,

Instead of trying to incorporate the ordinal numbering into your formfield, insert a formula field immediately after it, coded as:
{IF{=(MOD({=Text1+89},100)>2)*(MOD({=Text1+9},10)<3)}= 1 {=MOD(Text1,10)-2 \# rd;st;nd} th}
Where 'Text1' is your formfield's bookmark name. Be sure to check the 'calculate on exit' option also.

With this approach, you can also superscript the 'rd', 'st', 'nd' and 'th'

Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message.

For more information on working with dates in Word, check out my Word Date Calculation Tutorial, at:
http://www.wopr.com/index.php?showtopic=249902&st=0&p=249902&#entry249902
or
http://www.gmayor.com/downloads.htm#Third_party
Do read the document's introductory material.

--
Cheers
macropod
[MVP - Microsoft Word]


"Christian Schratter" <ChristianSchratter.DeleteThis@discussions.microsoft.com> wrote in message
news:05E66D0E-B9A1-4244-A76B-4E9951B16F9E@microsoft.com...
> Hello.
>
> I'm trying desperately to create a field in Word 2007 which should display
> todays day and the ordinal suffix (e.g. 27th).
> So far I've managed to find out, that by adding \*Ordinal to the field
> syntax, the ordinal suffix should display (and it indeed does).
>
> The crash:
> If I right-click a field, which has the mentioned \*Ordinal in it's syntax,
> and choose "edit field" (which should open up the mask for fields), Word
> crashes. This behaviour is 100% repeatable.
>
> The issue:
> As mentioned, it's possible to add the \*Ordinal option to a field when
> using the option "field function on/off". What I'd like to do, is to format
> the ordinal suffix in superscript. Any ideas on how to do that?
>
> I'd be more than happy over any inputs or additionnal comments on the issues
> above.
>
> Kind regards, Chris
Back to top
Login to vote
Christian Schratter

External


Since: Mar 04, 2009
Posts: 5



(Msg. 5) Posted: Wed Mar 04, 2009 9:05 pm
Post subject: Re: Formating field as ordinal number in Word 2007 - issue AND cra [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you very much for your reply.

Your suggestion sounds like a reasonable workaround for the mentioned
issues. Sadly I couldn't go and try out your idea straight away, because I'm
not sure what you mean with "formfield's bookmark name"?

Looking forward to hearing from you.

Kind regards, Chris


"macropod" wrote:

> Hi Christian,
>
> Instead of trying to incorporate the ordinal numbering into your formfield, insert a formula field immediately after it, coded as:
> {IF{=(MOD({=Text1+89},100)>2)*(MOD({=Text1+9},10)<3)}= 1 {=MOD(Text1,10)-2 \# rd;st;nd} th}
> Where 'Text1' is your formfield's bookmark name. Be sure to check the 'calculate on exit' option also.
>
> With this approach, you can also superscript the 'rd', 'st', 'nd' and 'th'
>
> Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste
> them from this message.
>
> For more information on working with dates in Word, check out my Word Date Calculation Tutorial, at:
> http://www.wopr.com/index.php?showtopic=249902&st=0&p=249902&#entry249902
> or
> http://www.gmayor.com/downloads.htm#Third_party
> Do read the document's introductory material.
>
> --
> Cheers
> macropod
> [MVP - Microsoft Word]
>
>
> "Christian Schratter" <ChristianSchratter.TakeThisOut@discussions.microsoft.com> wrote in message
> news:05E66D0E-B9A1-4244-A76B-4E9951B16F9E@microsoft.com...
> > Hello.
> >
> > I'm trying desperately to create a field in Word 2007 which should display
> > todays day and the ordinal suffix (e.g. 27th).
> > So far I've managed to find out, that by adding \*Ordinal to the field
> > syntax, the ordinal suffix should display (and it indeed does).
> >
> > The crash:
> > If I right-click a field, which has the mentioned \*Ordinal in it's syntax,
> > and choose "edit field" (which should open up the mask for fields), Word
> > crashes. This behaviour is 100% repeatable.
> >
> > The issue:
> > As mentioned, it's possible to add the \*Ordinal option to a field when
> > using the option "field function on/off". What I'd like to do, is to format
> > the ordinal suffix in superscript. Any ideas on how to do that?
> >
> > I'd be more than happy over any inputs or additionnal comments on the issues
> > above.
> >
> > Kind regards, Chris
>
>
Back to top
Login to vote
macropod

External


Since: Jul 02, 2008
Posts: 746



(Msg. 6) Posted: Thu Mar 05, 2009 1:05 am
Post subject: Re: Formating field as ordinal number in Word 2007 - issue AND cra [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Christian,

I took your post to indicate that you're having problems with formfield formatting. If you check a formfield's properties, you'll
see that it has provision for a bookmark name and to set it to 'calculate on exit'. You can also restrict input to a specific format
(eg 2-digit numeric).

--
Cheers
macropod
[MVP - Microsoft Word]


"Christian Schratter" <ChristianSchratter.DeleteThis@discussions.microsoft.com> wrote in message
news:B85D6252-9759-4997-BAE7-B8DDEE15A857@microsoft.com...
> Thank you very much for your reply.
>
> Your suggestion sounds like a reasonable workaround for the mentioned
> issues. Sadly I couldn't go and try out your idea straight away, because I'm
> not sure what you mean with "formfield's bookmark name"?
>
> Looking forward to hearing from you.
>
> Kind regards, Chris
>
>
> "macropod" wrote:
>
>> Hi Christian,
>>
>> Instead of trying to incorporate the ordinal numbering into your formfield, insert a formula field immediately after it, coded
>> as:
>> {IF{=(MOD({=Text1+89},100)>2)*(MOD({=Text1+9},10)<3)}= 1 {=MOD(Text1,10)-2 \# rd;st;nd} th}
>> Where 'Text1' is your formfield's bookmark name. Be sure to check the 'calculate on exit' option also.
>>
>> With this approach, you can also superscript the 'rd', 'st', 'nd' and 'th'
>>
>> Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste
>> them from this message.
>>
>> For more information on working with dates in Word, check out my Word Date Calculation Tutorial, at:
>> http://www.wopr.com/index.php?showtopic=249902&st=0&p=249902&#entry249902
>> or
>> http://www.gmayor.com/downloads.htm#Third_party
>> Do read the document's introductory material.
>>
>> --
>> Cheers
>> macropod
>> [MVP - Microsoft Word]
>>
>>
>> "Christian Schratter" <ChristianSchratter.DeleteThis@discussions.microsoft.com> wrote in message
>> news:05E66D0E-B9A1-4244-A76B-4E9951B16F9E@microsoft.com...
>> > Hello.
>> >
>> > I'm trying desperately to create a field in Word 2007 which should display
>> > todays day and the ordinal suffix (e.g. 27th).
>> > So far I've managed to find out, that by adding \*Ordinal to the field
>> > syntax, the ordinal suffix should display (and it indeed does).
>> >
>> > The crash:
>> > If I right-click a field, which has the mentioned \*Ordinal in it's syntax,
>> > and choose "edit field" (which should open up the mask for fields), Word
>> > crashes. This behaviour is 100% repeatable.
>> >
>> > The issue:
>> > As mentioned, it's possible to add the \*Ordinal option to a field when
>> > using the option "field function on/off". What I'd like to do, is to format
>> > the ordinal suffix in superscript. Any ideas on how to do that?
>> >
>> > I'd be more than happy over any inputs or additionnal comments on the issues
>> > above.
>> >
>> > Kind regards, Chris
>>
>>
Back to top
Login to vote
Christian Schratter

External


Since: Mar 04, 2009
Posts: 5



(Msg. 7) Posted: Thu Mar 05, 2009 3:08 am
Post subject: Re: Formating field as ordinal number in Word 2007 - issue AND cra [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Now I understand what you're referencing to.

Though, I'm not using form fields, but those kind of fields, which you can
find under Insert -> Quick Parts -> Fields.
If I add such a field which displays the current date, then I think I can't
give it a name, right?

Kind regards, Chris



"macropod" wrote:

> Hi Christian,
>
> I took your post to indicate that you're having problems with formfield formatting. If you check a formfield's properties, you'll
> see that it has provision for a bookmark name and to set it to 'calculate on exit'. You can also restrict input to a specific format
> (eg 2-digit numeric).
>
> --
> Cheers
> macropod
> [MVP - Microsoft Word]
Back to top
Login to vote
macropod

External


Since: Jul 02, 2008
Posts: 746



(Msg. 8) Posted: Thu Mar 05, 2009 5:05 pm
Post subject: Re: Formating field as ordinal number in Word 2007 - issue AND cra [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Christian,

You could bookmark the date field. Did you check out the topic 'Insert A Date with Ordinal Numbering' in my DateCalc tutorial?

--
Cheers
macropod
[MVP - Microsoft Word]


"Christian Schratter" <ChristianSchratter.DeleteThis@discussions.microsoft.com> wrote in message
news:2465411D-C51E-4556-A046-0227E2B00C81@microsoft.com...
> Now I understand what you're referencing to.
>
> Though, I'm not using form fields, but those kind of fields, which you can
> find under Insert -> Quick Parts -> Fields.
> If I add such a field which displays the current date, then I think I can't
> give it a name, right?
>
> Kind regards, Chris
>
>
>
> "macropod" wrote:
>
>> Hi Christian,
>>
>> I took your post to indicate that you're having problems with formfield formatting. If you check a formfield's properties, you'll
>> see that it has provision for a bookmark name and to set it to 'calculate on exit'. You can also restrict input to a specific
>> format
>> (eg 2-digit numeric).
>>
>> --
>> Cheers
>> macropod
>> [MVP - Microsoft Word]
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Numbering All times are: Eastern Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support