#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sort by formatting

Is it possible to sort by cell color format or text color format? I tried to
gather info by CELL but it always returns G .
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Sort by formatting

Look he

http://xldynamic.com/source/xld.ColourCounter.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"MACXXXX" wrote in message ...
| Is it possible to sort by cell color format or text color format? I tried to
| gather info by CELL but it always returns G .


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sort by formatting

Thanks for the code but it seems to only work with cell formatting- not text
formatting (font color) and I have a lot more of that.

"Niek Otten" wrote:

Look he

http://xldynamic.com/source/xld.ColourCounter.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"MACXXXX" wrote in message ...
| Is it possible to sort by cell color format or text color format? I tried to
| gather info by CELL but it always returns G .



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Sort by formatting

Look at the second argument of the ColorIndex function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"MACXXXX" wrote in message ...
| Thanks for the code but it seems to only work with cell formatting- not text
| formatting (font color) and I have a lot more of that.
|
| "Niek Otten" wrote:
|
| Look he
|
| http://xldynamic.com/source/xld.ColourCounter.html
|
| --
| Kind regards,
|
| Niek Otten
| Microsoft MVP - Excel
|
| "MACXXXX" wrote in message ...
| | Is it possible to sort by cell color format or text color format? I tried to
| | gather info by CELL but it always returns G .
|
|
|


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Sort by formatting

What do *you* think the optional second argument of the ColorIndex function,
as described on that page, does?
--
David Biddulph

"MACXXXX" wrote in message
...
Thanks for the code but it seems to only work with cell formatting- not
text
formatting (font color) and I have a lot more of that.

"Niek Otten" wrote:

Look he

http://xldynamic.com/source/xld.ColourCounter.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"MACXXXX" wrote in message
...
| Is it possible to sort by cell color format or text color format? I
tried to
| gather info by CELL but it always returns G .







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Sort by formatting

One follow-up. I can only seem to call the function if it's created in a
module within my current workbook. How can I create the function so it's
accessible each time I create a new workbook? I tried posting it in the
personal workbook, but if it's in there I can't call it (get the #NAME? error)

--
Thank you! - Jennifer


"Niek Otten" wrote:

Look he

http://xldynamic.com/source/xld.ColourCounter.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"MACXXXX" wrote in message ...
| Is it possible to sort by cell color format or text color format? I tried to
| gather info by CELL but it always returns G .



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Sort by formatting

Jennifer

When using a UDF from Personal.xls you must preface it with the filename.

=Personal.xls!Function()

I prefer to place UDF's in an add-in.

No filename required

=Function() is sufficient.


Gord Dibben MS Excel MVP


On Fri, 24 Oct 2008 11:01:03 -0700, Jennifer Cali
wrote:

One follow-up. I can only seem to call the function if it's created in a
module within my current workbook. How can I create the function so it's
accessible each time I create a new workbook? I tried posting it in the
personal workbook, but if it's in there I can't call it (get the #NAME? error)


Reply
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
How do I sort two columns without changing the formatting? LisaD Excel Worksheet Functions 5 April 5th 07 02:01 PM
when i sort, how can i get the formatting to sort along with text PJ Excel Worksheet Functions 2 September 12th 06 01:03 PM
Lists lose formatting on sort - Mac only? cory_atticus Excel Discussion (Misc queries) 0 August 7th 06 01:54 PM
How can I sort and maintain formatting? littlelostgrl Excel Discussion (Misc queries) 2 August 24th 05 08:11 PM
Excel Sort function should not sort the cell formatting! Lisa D.N.1 Excel Worksheet Functions 1 December 28th 04 08:37 PM


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