Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 605
Default How to find cells with non-conditional formatting?

Hi,

I know how to find cells with **conditional** formatting. Is there a way to
find cells that have non-conditional formats? Let me try to be a bit
specific. How can I find cells that I have applied custom formats
(formatcellsnumbercustom)?

Appreciate feedback.

Epinn


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default How to find cells with non-conditional formatting?

For any particular custom format...

If you're using xl2002+, you can use the Options button on the Edit|Find dialog
to specify the number format to search for.

Before xl2002, you'll have to loop through all the cells and look at each cell's
number format.

Maybe you can use some of the code he
http://j-walk.com/ss/excel/eee/eee015.txt

Look for "SPECIAL VBA PROJECT: Custom Number Formats"



Epinn wrote:

Hi,

I know how to find cells with **conditional** formatting. Is there a way to
find cells that have non-conditional formats? Let me try to be a bit
specific. How can I find cells that I have applied custom formats
(formatcellsnumbercustom)?

Appreciate feedback.

Epinn


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 605
Default How to find cells with non-conditional formatting?

Thank you Dave. I should specify that I use Excel 2003.

EditFindOptions ..... is neat. I think CELL() is useful as well.

Thank you for the link. I found an interesting tip via Google and then I
realized that it was also from the same site.
http://j-walk.com/ss/excel/usertips/tip045.htm The tip mentioned using
Get.Cell. I understand that I can't use it in a worksheet directly. But is
it still available for 2003 version? "48" is for formula (see below); what
is the number for format please? I am hoping that I can use a similar
formula to search for all cells that have formatting. Please advise.

*****************
=GET.CELL(48,INDIRECT("rc",FALSE))

Using a value of 48 as the first argument for GET.CELL causes the function
to return 'True' if the cell contains a formula.
*********************

By the way, I can't decide whether it should be "non-conditional" or
"unconditional." ;)

Thanks!

Epinn

"Dave Peterson" wrote in message
...
For any particular custom format...

If you're using xl2002+, you can use the Options button on the Edit|Find

dialog
to specify the number format to search for.

Before xl2002, you'll have to loop through all the cells and look at each

cell's
number format.

Maybe you can use some of the code he
http://j-walk.com/ss/excel/eee/eee015.txt

Look for "SPECIAL VBA PROJECT: Custom Number Formats"



Epinn wrote:

Hi,

I know how to find cells with **conditional** formatting. Is there a

way to
find cells that have non-conditional formats? Let me try to be a bit
specific. How can I find cells that I have applied custom formats
(formatcellsnumbercustom)?

Appreciate feedback.

Epinn


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default How to find cells with non-conditional formatting?

The number is 7 to return the format of the cell.

But I'm not sure how this will help.

Epinn wrote:

Thank you Dave. I should specify that I use Excel 2003.

EditFindOptions ..... is neat. I think CELL() is useful as well.

Thank you for the link. I found an interesting tip via Google and then I
realized that it was also from the same site.
http://j-walk.com/ss/excel/usertips/tip045.htm The tip mentioned using
Get.Cell. I understand that I can't use it in a worksheet directly. But is
it still available for 2003 version? "48" is for formula (see below); what
is the number for format please? I am hoping that I can use a similar
formula to search for all cells that have formatting. Please advise.

*****************
=GET.CELL(48,INDIRECT("rc",FALSE))

Using a value of 48 as the first argument for GET.CELL causes the function
to return 'True' if the cell contains a formula.
*********************

By the way, I can't decide whether it should be "non-conditional" or
"unconditional." ;)

Thanks!

Epinn

"Dave Peterson" wrote in message
...
For any particular custom format...

If you're using xl2002+, you can use the Options button on the Edit|Find

dialog
to specify the number format to search for.

Before xl2002, you'll have to loop through all the cells and look at each

cell's
number format.

Maybe you can use some of the code he
http://j-walk.com/ss/excel/eee/eee015.txt

Look for "SPECIAL VBA PROJECT: Custom Number Formats"



Epinn wrote:

Hi,

I know how to find cells with **conditional** formatting. Is there a

way to
find cells that have non-conditional formats? Let me try to be a bit
specific. How can I find cells that I have applied custom formats
(formatcellsnumbercustom)?

Appreciate feedback.

Epinn


--

Dave Peterson


--

Dave Peterson
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
Conditional Formatting - Frame cells with Outline Border Sam Excel Discussion (Misc queries) 2 June 20th 06 05:38 PM
conditional formatting 2 cells debjocc Excel Worksheet Functions 6 June 2nd 06 03:21 PM
Conditional Formatting based on other cells userzero Excel Worksheet Functions 4 April 6th 06 11:16 PM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
how do I maintain my conditional formatting when filtering cells? Aja Excel Worksheet Functions 0 September 21st 05 09:56 PM


All times are GMT +1. The time now is 05:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"