LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default Number formatting: General + separator?

On 7 Nov 2005 20:05:45 GMT, John Persons wrote:

Ron Rosenfeld wrote in
:

Try this. I've not done extensive testing, but I think it will work
pretty close to what you want, and might even properly handle
different sized fonts.


Thanks again, Ron! I have been messing around with it and it seems to work well.
Is there an easy method that would allow me to set particular cells in the range to
a different format? That way I could use this as the default format for the
worksheet, but some cells could be formatted differently.

I suppose I could define AOI to be multiple ranges by editing the VBA code whenever
I need to format a cell differently, but that would be a pain. If there is a
clever way to make the macro skip over any cells in AOI that have been formatted
differently, that would be great.


Well, you'd have to know in advance what format to check for, and if it's
already in the cell, don't reformat it. Or some other common characteristic of
the cells to be formatted (or not formatted).

You'd also have to be sure that your "excluded formats" don't include any of
these custom formats.

Another approach would be to select the cells you wish to format (or not
format) and include(exclude) those cells that are selected.

Think about what sort of approach you want to take.


--ron
 
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
Formatting a number to look like a Percent without a percent sign David Iacoponi Excel Discussion (Misc queries) 2 September 15th 05 06:35 PM
number formatting Ralf Riedel Excel Discussion (Misc queries) 2 August 8th 05 11:39 PM
Number formatting issue Gayle Excel Worksheet Functions 2 August 8th 05 08:51 PM
Number formatting Fred Holmes Excel Discussion (Misc queries) 2 February 21st 05 06:02 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM


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