Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Number format in a message

I have a message box that shows a message and a value from
a worksheet. How do I define the number format of the
value in the message box?

I'm using Excel 2000.

Thanks,
Lianna
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Number format in a message

If you want to display what is displayed in the cell rather than the
underlying value

msgbox Range("a1").Text

rather than
msgbox Range("A1").Value

Regards,
Tom Ogilvy


"Lianna" wrote in message
...
I have a message box that shows a message and a value from
a worksheet. How do I define the number format of the
value in the message box?

I'm using Excel 2000.

Thanks,
Lianna



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Message box date format macro help Aaron Excel Worksheet Functions 2 June 16th 09 08:16 AM
Message box date format macro help Aaron Excel Worksheet Functions 2 June 16th 09 07:17 AM
Office Open XML Format message RobN[_2_] Excel Discussion (Misc queries) 0 May 5th 07 09:43 AM
Format results in Message Box Jim G Excel Discussion (Misc queries) 3 February 28th 07 12:03 AM
#N/A message & Conditional format Ken Excel Discussion (Misc queries) 6 January 25th 07 06:34 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"