Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Email from excel: Format dollar amount in outlook body

Hi All,

I know how to email from excel. But I want to know how can I display dollar
amount in specific format.

For eg: rite now dollar amount is displayed like 1234567 and I want it to be
1,234,567

How can I do this?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Email from excel: Format dollar amount in outlook body

One way is to put it in a variable as a sting using Format:

myStr = Format$(1234567, "1,234.567")
Text = "Now my number reads " & myStr & " as a string."

Code is for illustration only.

"sam" wrote in message
...
Hi All,

I know how to email from excel. But I want to know how can I display
dollar
amount in specific format.

For eg: rite now dollar amount is displayed like 1234567 and I want it to
be
1,234,567

How can I do this?

Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Email from excel: Format dollar amount in outlook body

Hi Sam

You can use the Format function for the cell with the amount
when you create the body

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"sam" wrote in message ...
Hi All,

I know how to email from excel. But I want to know how can I display dollar
amount in specific format.

For eg: rite now dollar amount is displayed like 1234567 and I want it to be
1,234,567

How can I do this?

Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Email from excel: Format dollar amount in outlook body

Correct the format function:


myStr = Format$(1234567, "#,###,##0")
Text = "Now my number reads " & myStr & " as a string."

Code is for illustration only.




"sam" wrote in message
...
Hi All,

I know how to email from excel. But I want to know how can I display
dollar
amount in specific format.

For eg: rite now dollar amount is displayed like 1234567 and I want it to
be
1,234,567

How can I do this?

Thanks in advance



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
outlook email body formatting issues from excel vba mr rapidan Excel Programming 1 July 30th 08 04:35 AM
How to include Excel charts in Outlook email *body* with VB Chrisso Excel Programming 7 July 29th 08 04:05 PM
Outlook email url in body kevinho[_3_] Excel Programming 2 August 26th 05 12:48 PM
Late Binding to Outlook from Excel: Outlook modifies email body Lenny Wintfeld Excel Programming 0 December 12th 04 04:03 PM
How to paste cells from Excel into Outlook email body? stastim Excel Programming 2 August 23rd 04 06:35 PM


All times are GMT +1. The time now is 07:16 PM.

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

About Us

"It's about Microsoft Excel"