Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Conditional Formatting Range

I want to impliment a conditional format that covers a range comparing cells
in G to the cells F example: if G26<F26 then /. ./ color index=3, g27<F27
etc. To add a twist I am trying to start at row 26 ending @ 500. I have
figured out for a single cell but duplicating for a few hundred ....gotta be
an easier way.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditional Formatting Range

Range("G26:G500").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression,
Formula1:="=$G26<$F26"
Selection.FormatConditions(1).Interior.ColorIndex = 3

--
Regards,
Tom Ogilvy

"Dan" wrote in message
...
I want to impliment a conditional format that covers a range comparing

cells
in G to the cells F example: if G26<F26 then /. ./ color index=3, g27<F27
etc. To add a twist I am trying to start at row 26 ending @ 500. I have
figured out for a single cell but duplicating for a few hundred ....gotta

be
an easier way.



  #3   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Conditional Formatting Range

Genius Thanks Tom!!!! BTW Have any reccomendations for a VBA book??

"Tom Ogilvy" wrote:

Range("G26:G500").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression,
Formula1:="=$G26<$F26"
Selection.FormatConditions(1).Interior.ColorIndex = 3

--
Regards,
Tom Ogilvy

"Dan" wrote in message
...
I want to impliment a conditional format that covers a range comparing

cells
in G to the cells F example: if G26<F26 then /. ./ color index=3, g27<F27
etc. To add a twist I am trying to start at row 26 ending @ 500. I have
figured out for a single cell but duplicating for a few hundred ....gotta

be
an easier way.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Conditional Formatting Range

http://www.j-walk.com/ss/books/index.htm
Excel Books by John Walkenbach

http://www.oaltd.co.uk/OAPage.htm#Books
Stephen Bullen's site

--
Regards,
Tom Ogilvy


"Dan" wrote in message
...
Genius Thanks Tom!!!! BTW Have any reccomendations for a VBA book??

"Tom Ogilvy" wrote:

Range("G26:G500").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression,
Formula1:="=$G26<$F26"
Selection.FormatConditions(1).Interior.ColorIndex = 3

--
Regards,
Tom Ogilvy

"Dan" wrote in message
...
I want to impliment a conditional format that covers a range comparing

cells
in G to the cells F example: if G26<F26 then /. ./ color index=3,

g27<F27
etc. To add a twist I am trying to start at row 26 ending @ 500. I

have
figured out for a single cell but duplicating for a few hundred

.....gotta
be
an easier way.






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 for a Range KKD New Users to Excel 2 April 1st 10 04:12 AM
Conditional Formatting with range Keyrookie Excel Worksheet Functions 2 December 3rd 09 02:20 PM
Conditional Formatting with range Keyrookie Excel Worksheet Functions 3 December 1st 09 02:22 PM
Conditional Formatting In a Range mikesteven Excel Discussion (Misc queries) 1 July 13th 06 09:37 PM
Conditional Formatting for a Range ahishaslauer Excel Discussion (Misc queries) 2 April 3rd 06 02:29 AM


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