ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I get the total to show up in dollars? (https://www.excelbanter.com/excel-programming/306331-how-do-i-get-total-show-up-dollars.html)

fitful_thought

How do I get the total to show up in dollars?
 
How do I get the total to show up in dollars?

Dim total As Currency
total = Cells(1, 1) + Cells(2, 1)
MsgBox total



--
Regards,
David



mark

How do I get the total to show up in dollars?
 
How do I get the total to show up in dollars?

MsgBox Format(total, "$#,##0.00")


Myrna Larson

How do I get the total to show up in dollars?
 


Msgbox Format$(Total,"Currency")


On Sun, 8 Aug 2004 09:54:08 +1000, "fitful_thought" wrote:

How do I get the total to show up in dollars?

Dim total As Currency
total = Cells(1, 1) + Cells(2, 1)
MsgBox total



fitful_thought

How do I get the total to show up in dollars?
 
Thank you for your help. Big lapse of memory here.

"mark" wrote in message
...
How do I get the total to show up in dollars?


MsgBox Format(total, "$#,##0.00")




fitful_thought

How do I get the total to show up in dollars?
 
Thank you for your help. Big lapse of memory here.


"Myrna Larson" wrote in message
...


Msgbox Format$(Total,"Currency")


On Sun, 8 Aug 2004 09:54:08 +1000, "fitful_thought"

wrote:

How do I get the total to show up in dollars?

Dim total As Currency
total = Cells(1, 1) + Cells(2, 1)
MsgBox total






All times are GMT +1. The time now is 05:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com