Highlighting Email address responders

mas_lerdanch

Board Regular
Joined
Jun 25, 2007
Messages
64
I have two sheets in the same workbook, one has the original list of members emails that the questionaire was sent to and one has the list of members and emails that have responded. using this information I want to produce a third sheet that compares the two and displays a list of non responders email addresses so they can be reminded in the future.

Please help

Mas
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
Like this??
Code:
Sub FindMe()
Dim cl As Range
Dim C As Range
For Each cl In Sheet2.Range("A2:A500")
Set C = Sheet1.Range("A2:A200").Find(cl.Text, LookIn:=xlValues)
If Not C Is Nothing Then
  cl.EntireRow.Copy Sheet3.Range("A" & Cells(Rows.Count, "A").End(xlUp).Row + 1)
Next cl
End Sub
lenze
 

mas_lerdanch

Board Regular
Joined
Jun 25, 2007
Messages
64
Looks great -thanks. Just not sure with my limited excel knowledge I'll be able to employ it. Any pointers please.
 

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
Place it in a regular module. Open the VBE (ALT+F11) and choose Insert>Module. You may have to change your sheet references. Example: If your 1st sheet is Named "Mary" Then you can replace Sheet1 in the code with Sheets("Mary"). To run, open the Macro dialog (ALT+F8), select the nacro and click Run

lenze

lenze
 

mas_lerdanch

Board Regular
Joined
Jun 25, 2007
Messages
64
Thanks, I'll give it a go first thing :) 2234GMT here
thanks again, I'll let you know how I go.
Sam
 

Watch MrExcel Video

Forum statistics

Threads
1,118,875
Messages
5,574,761
Members
412,617
Latest member
mlharris
Top