Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Trying to understand FormatConditions in XL 2007??

In an XL2007 .xlsm workbook, I have a Worksheet_Change macro that
captures the row I'm entering data into and copies down all the
formats and formulas from the row above. This is done by selecting
certain ranges and cells, using Copy, and then PasteSpecial.

Apparently this is screwing up my conditional formats. Thanks to Jim
Rech, I dug a bit deeper into FormatConditions. Now I am totally
confused!

I have a dozen columns with conditional formats. Yet when I did
Set wks = ActiveSheet
MsgBox wks.Range("A21:Z1000").FormatConditions.Count
I get 1188 FormatCondition objects!!??

Really, all I want to do is iterate through each column and
ModifyAppliesToRange to extend the format one cell farther down. Am I
going to have to ClearFormats and Add the format back in with the new
range every time?

Anyone who can help me make sense of this is most appreciated!!

Ed
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
Problems using FormatConditions.Add with an Expression John Excel Programming 6 June 9th 09 02:04 PM
excel2k FormatConditions question L@ja Excel Programming 5 January 30th 08 10:24 AM
What is the parameter for FormatConditions? J@Y Excel Programming 2 May 29th 07 05:21 PM
FormatConditions VBA Bug? DaveCrowley Excel Programming 7 May 24th 06 09:52 PM
FormatConditions(1).Formula1 Stefi Excel Programming 9 February 17th 06 10:37 AM


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