PC Review


Reply
Thread Tools Rate Thread

Currency format

 
 
Charles Reid
Guest
Posts: n/a
 
      18th Sep 2007
Hello All,

Is it possible to write a macro to format a cell with the following format
$-100 if the cell has a negative number. The following format in excel for
negative numbers is the following: -$100 or (100).

I know I would have to probably have to convert it to a text string in order
to enter in $ -100.

Any and all help in this matter is greatly appreciated.


 
Reply With Quote
 
 
 
 
Ron Coderre
Guest
Posts: n/a
 
      18th Sep 2007
From the Excel Main Menu:
<format><cells><number tab>
Category: Custom
Type: $#,##0.00;$-#,##0.00
Click [OK]

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)




"Charles Reid" <(E-Mail Removed)> wrote in message
news:46ef2053$0$17073$(E-Mail Removed)...
> Hello All,
>
> Is it possible to write a macro to format a cell with the following format
> $-100 if the cell has a negative number. The following format in excel
> for negative numbers is the following: -$100 or (100).
>
> I know I would have to probably have to convert it to a text string in
> order to enter in $ -100.
>
> Any and all help in this matter is greatly appreciated.
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiply cells and format to currency in text format Paul Wilson Microsoft Excel Programming 2 23rd Dec 2009 06:39 AM
How to add new currency Symbol in Format/Cell/Currency NOORZAD Microsoft Excel Misc 2 22nd Jun 2009 07:59 AM
How to format cells in Excel 2007 (i.e. currency format)? =?Utf-8?B?RG9uUg==?= Microsoft Excel Misc 2 25th May 2008 11:16 PM
Excel's financial currency format vs. Access currency format RoBo Microsoft Access Forms 0 4th Feb 2008 04:03 PM
Conversion from currency value to currency text format gdselva Microsoft Excel Programming 2 18th Aug 2004 10:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:45 AM.