View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
veryeavy veryeavy is offline
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