[mso] Re: Word 2002: Convert Number To String

Cathy,

I'm not sure if it's relevant but the str command returns a variant
and variants are like chameleons in that they are still variants when
they are strings!! Try Str$ instead. This should return a "real"
string.

Again.. just clutching straws really.

Lisa

> Thanks Ray.  I tried adding that, and it's still not
> converting the numbers
> to string.  I must have some other problem going on that
> I'm missing cause
> it should work.  Is there a way to 'format' a Word text box
> to currency or
> number like in Access?  I'm not finding anything in the
> help menu about it,
> maybe that's where I'm going wrong, to not have my text box
> set up right.
> Here's the whole statement I'm using:
>
>         Dim strPrice As String
>         strPrice = Str(tbxPrice)
>         UpdateBookmarkProc "bkPrice1", strPrice
>
> I will work with it a little longer, but if I can't figure
> out what I've
> got wrong, I'll go to plan B and add a extra box for input
> of the string
> value, cause my deadline is Monday.
>
> Thanks for all your help, it's helping me to understand a
> little better,
> too.
> Cathy


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: