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: 12
Default How to change parts of Cells().NumberFormat

Hello there,

I assign Cells().NumberFormat to deal with various currencies.

Initially NumberFormat is "$#,##0.0000", "CHF#,##0.0000", etc.

I would like to keep the currency information, however, I want to have only
2 digits (i.e., 0.00).

Format(NumberFormat), "0.00") does not work.

Any idea how I can cut off the last two digits without loosing the currency
information?

Thank you for your help.
 
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
Numberformat applied but does not change data Tony Girgenti Excel Programming 11 January 23rd 08 05:55 PM
Unable to change NumberFormat Property Geoff Excel Programming 2 February 12th 07 12:36 AM
Can't change NumberFormat via Command button Ade Excel Programming 3 February 2nd 07 01:28 AM
Can not change the numberformat X.Yu[_2_] Excel Programming 3 October 19th 04 02:59 AM
Can not change the numberformat X.Yu Excel Programming 6 October 18th 04 09:19 AM


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