Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default How to Bold text in MsgBox?

2003

How to Bold text in MsgBox?

Also, in a MsgBox how to display numeric "text" formatted to show place a comma evey 3 numbers (i.e.
1,000 1,000,000) in a VBA computed number?

Thanks

EagleOne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default How to Bold text in MsgBox?

EagleOne,

You cannot use bold in a msgbox - you need to use a custom form with a
textbox or label.

As for the format:

Sub NewSub()
Dim myVal As Double
myVal = 1234567.34
MsgBox Format(myVal, "#,##0.00")
End Sub

HTH,
Bernie

<donoteventry; <removes; wrote in message
...
2003

How to Bold text in MsgBox?

Also, in a MsgBox how to display numeric "text" formatted to show place a
comma evey 3 numbers (i.e.
1,000 1,000,000) in a VBA computed number?

Thanks

EagleOne



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
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
Can I print bold text with unbolded border KoriBustard Excel Discussion (Misc queries) 1 July 27th 05 03:03 PM
How to center text in a msgbox Dave_2k5 Excel Discussion (Misc queries) 2 July 26th 05 01:20 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 02:16 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"