Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default conditional format limit code

i'm clueless about this ...

i have exceeded the 3 conditional format limitation, and i'm a beginner VBA'er... i can't figure out how to do this

i have already automated rows changing colors based on certain values in certain cells (using up the conditional formatting limitation), but now i have to change cell colors based on data in its cell and the cell next to it

i have 4 cell ranges with date

D3:D200 = dRang
E3:E200 = eRang
K3:K200 = kRang
L3:L200 = lRang

if a cell in dRange = today() (in a formula) the
its formatting should be red, bold font (ignore if the date was entered manually
else i
the cell next to it in eRange = today() the
the formatting of the cell in dRange should be blue (no matter the date in dRange
els
cell in dRange should be blac
end i

note: "today" should be treated as two values... turning the font bold and red should only occur if there's a formula "=today()" in the cell. if the actual date is manually entered, that should be treated the same as any other date. i do have a udf in a module, used in formatting and formulas

Function isformula(rng As Range
isformula = rng.HasFormul
End Functio

and i need to do the same for the other ranges

suggestions

thanks for any help out there

jill

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
Code to conditional format all black after date specified in code? wx4usa Excel Discussion (Misc queries) 3 December 26th 08 07:06 PM
Conditional Format VB Code for Begins With Marie Bayes Excel Discussion (Misc queries) 5 December 19th 08 05:28 PM
Limit In Conditional Format Constantly Amazed Excel Worksheet Functions 3 April 27th 07 01:28 PM
Code for Conditional format TUNGANA KURMA RAJU Excel Discussion (Misc queries) 4 November 3rd 05 09:58 AM
conditional format for vb code on pivot output BEE Excel Programming 2 December 22nd 03 12:25 AM


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