View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
robert111 robert111 is offline
external usenet poster
 
Posts: 1
Default Conditional Formatting in Macro


I would start by recording a macro that colours a complete row red. Then
I would edit the macro, adding a line at the beginning something like:

if cells(1,1) 500 then 10 else 20

line 10 is the start of the code that colours the row red, line 20 is
END


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=561431