LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Custom Number Formats in Code

Hi,

Hope this qualifies as "programming".

the following macro:

Selection.NumberFormat = "#,##0_);(#,##0)"

does not do the job I was hoping.

On examination the format that is applied is:

#,##0;-#,##0

any way to get my preferred format to "take"?

TIA, Matt
 
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
custom number formats Dave F Excel Discussion (Misc queries) 3 October 7th 06 12:28 AM
Custom Number Formats - Help James Hamilton Excel Discussion (Misc queries) 3 May 16th 06 04:10 PM
custom number formats Louise Excel Worksheet Functions 7 May 4th 06 12:30 PM
[$-409] in Custom Number Formats Conan Kelly Charts and Charting in Excel 2 April 14th 06 12:19 PM
Custom Number Formats Dan Swartz Excel Worksheet Functions 1 September 24th 05 11:09 PM


All times are GMT +1. The time now is 06:16 AM.

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"