Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
CBT CBT is offline
external usenet poster
 
Posts: 1
Default onditional formatting

Hi

I have the problem to find cells in big spreadsheets which have conditional
formats. Is there a possibility to find these cells with a VBA macro and if
YES is it possible to read the conditions and formats of these cells in
order to write them on an other place in the workbook down. Has anybody an
idea how I could do this.
Thank you very much in advance for your help.

Kind regards
Christoph


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default onditional formatting

Most of your code can be got using the macro recorder.

Press F5, click Special, then select Conditional formatting. This will select all cells with conditional formatting.
You then need to walk through selected cells (for each cell in selection...) and lift out the properties that you want (there will be many !). Get these properties by recording yourself adding conditional formatting to a cell then disect the code.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default onditional formatting

Christoph

Check out Chip Pearson's website for code dealing with CF cells. May be
something there you can use.

http://www.cpearson.com/excel/CFColors.htm

Gord Dibben XL2002

On Sat, 8 Nov 2003 09:09:44 +0100, "CBT" wrote:

Hi

I have the problem to find cells in big spreadsheets which have conditional
formats. Is there a possibility to find these cells with a VBA macro and if
YES is it possible to read the conditions and formats of these cells in
order to write them on an other place in the workbook down. Has anybody an
idea how I could do this.
Thank you very much in advance for your help.

Kind regards
Christoph


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
Another Greater Than Less Than onditional problem. Scott Dann Excel Worksheet Functions 7 August 1st 09 10:26 AM
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM


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