Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Currency format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charles Reid - 18 Sep 2007 01:48 GMT
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.
Ron Coderre - 18 Sep 2007 03:13 GMT
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)

> Hello All,
>
[quoted text clipped - 6 lines]
>
> Any and all help in this matter is greatly appreciated.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.