Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Concatenating Numbers & Text to create a String
I have Totals in a variable that I would like to print out in a string
formatted Dim Total Dim String String = 'The total is " & Total The result is The total is 9999.9 I want it to look like The total is $9,999.99 How do I format a varible when I am concatinating the Varible to a String. Thanks Dana -- Message posted via http://www.officekb.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Concatenating Numbers & Text to create a String
String = "The total is " & format(total, "$#,##0.00")
"Fredriksson via OfficeKB.com" wrote: I have Totals in a variable that I would like to print out in a string formatted Dim Total Dim String String = 'The total is " & Total The result is The total is 9999.9 I want it to look like The total is $9,999.99 How do I format a varible when I am concatinating the Varible to a String. Thanks Dana -- Message posted via http://www.officekb.com -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Concatenating Numbers & Text to create a String
Thanks
Dave Peterson wrote: String = "The total is " & format(total, "$#,##0.00") I have Totals in a variable that I would like to print out in a string formatted [quoted text clipped - 15 lines] -- Message posted via http://www.officekb.com -- Message posted via http://www.officekb.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Extract numbers from a string of text | Excel Discussion (Misc queries) | |||
Extract numbers from a string of text | Excel Discussion (Misc queries) | |||
Formula Text String: Formatting Text and Numbers? | Excel Discussion (Misc queries) | |||
Create a 'text' string based on whether values appear in other cel | Excel Worksheet Functions | |||
Concatenating a string and an integer | Excel Programming |