LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Newb needs help....PLEASE!!!

Sub highlitenonmatch()
On Error Resume Next
mySource = Sheets("sheet1").Columns("i")
mc = "I"
For i = 1 To Cells(Rows.Count, mc).End(xlUp).Row
Cells(i, mc).Interior.ColorIndex = 0
If Application.Match(Cells(i, mc), mySource, 0) < 0 Then
Cells(i, mc).Interior.ColorIndex = 6
End If
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"SarahJ" wrote in message
...
I need some help.....The following is the senario I need to accomplish with
a
macro of some sort but am lost on how to do it.

I have two worksheets
"Sheet1" and
"Sheet2" (for simplicity)

I want to compare column "I" (it will always be column "I") of both
worksheets (column I contains user ID's). If a user Id appears on
"Sheet2"
and not "Sheet1" I want it to get highlighted.

Any ideas on how to get this accomplished would be greatly appreciated.



 
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
Newb VBA sub... [email protected][_2_] Excel Programming 3 October 24th 07 05:46 PM
Newb Q: XLL and XLA? Maury Markowitz Excel Programming 0 October 16th 06 05:25 PM
Help a newb.... gibson00 Excel Discussion (Misc queries) 6 July 11th 06 02:21 PM
Can someone please tell this newb what he's doing wrong? SanFranGuy06 Excel Programming 1 May 16th 06 12:05 AM
i know this has to be so easy -newb chris_ Excel Discussion (Misc queries) 6 July 11th 05 09:57 PM


All times are GMT +1. The time now is 07:50 AM.

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"