LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
j j j j is offline
external usenet poster
 
Posts: 1
Default color row using macro..



Sub Macro1()


For x = 3 To 1500
For y = 3 To 1500
If Cells(x, 2).Value = Cells(y, 6).Value Then
Cells(x, 7).Value = "true"
Cells(x, 3).Interior.ColorIndex = 36
Cells(x, 8).Value = y
Cells(y, 4).Interior.ColorIndex = 36

Else
End If
Next y
Next x


End Sub

*** Sent via Developersdex http://www.developersdex.com ***
 
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
Color macro Little Penny Excel Programming 11 September 23rd 07 05:04 PM
Make text color match cell color with macro? JoeSpareBedroom Excel Discussion (Misc queries) 1 June 26th 07 07:09 PM
Macro - color tab Rob Excel Discussion (Misc queries) 7 September 20th 06 01:49 PM
Color Row Macro Problem, adapted from Patrick Malloy macro SteveC Excel Programming 4 June 21st 06 12:28 PM
macro color change Dan Excel Worksheet Functions 0 February 15th 05 09:35 PM


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