LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #21   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default Custom Cell Format problem

#;(#);Z\E\RO!;W\h\at i\s \"@\"\?

which will print positive numbers with a leading plus sign, negative
numbers surround by parentheses instead of having a leading minus
sign, zero will be spelled out and, for any non-number, you will be
asked what is it.


First magic and now plain trickery, what next <g


See what you can learn to do by reading Harry Potter books.<g

Just to clarify, the plus sign was accidentally omitted when I copied the
format pattern string from my spreadsheet to the posting I sent. The above
format pattern string should have been this one...

+#;(#);Z\E\RO!;W\h\at i\s \"@\"\?

so that the positive numbers would have the leading plus sign I said they
would.

Rick

 
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
Interesting Custom Format Problem mr-tom Excel Discussion (Misc queries) 2 June 16th 09 11:30 AM
Format Cell as custom type but data doesn't display like I custom. ToMMie Excel Discussion (Misc queries) 6 September 11th 08 08:31 AM
General Format to Custom format problem KELC-F/A Excel Discussion (Misc queries) 1 May 2nd 08 09:51 PM
Custom number format problem Pierre Excel Worksheet Functions 3 January 17th 07 08:19 PM
Custom Cell format to mimic time format [email protected] Excel Discussion (Misc queries) 6 November 7th 06 09:17 PM


All times are GMT +1. The time now is 09:41 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"