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: 788
Default Changing a cell's number format

I am trying to change the number of decimal places displayed in a given cell
when a macro is executed. Everything I've read says a simple command using
the code Selection.NumberFormat = "0.00" should work but for some reason the
cell format remains unchanged. I've tried changing the default cell format
to both General and Number first but this has not helped. Why is this
command not working and what would rectify this?

Thx.
Chris
 
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
Get cell's number format category in VBA? dyowee Excel Discussion (Misc queries) 8 April 26th 23 03:43 AM
Changing the format of a phone number scr Excel Worksheet Functions 2 October 13th 08 12:22 AM
Changing Phone number format Noncentz303 Excel Worksheet Functions 2 May 2nd 07 05:42 PM
Changing number format gcotterl Excel Worksheet Functions 0 July 17th 06 08:50 AM
Changing format of number without changing the value sweetsue516 Excel Discussion (Misc queries) 2 August 22nd 05 04:07 PM


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