Hi, I'd appreciate some help with the following: I have Sheet1 and Sheet2 of same Workbook. In Sheet1 I have a base list of part numbers. On Sheet2 I have a list of part numbers that vary; more part numbers are added to this list daily. The objective is to identify which new part numbers (out of Sheet2) are NOT in Sheet1 and flag them somehow. I had thought of using an InputBox to ask the user to select the range of new part numbers added to Sheet2, but nothing seems to be assigned to the variable (MyRange) once I select the range. I had something like this:
Dim MyRange as Range
<code>Worksheets("Sheet1").Activate</code>
Set MyRange = Application.InputBox(prompt:="Select range of new part numbers", Type:=8)
After this, I did the comparison looping through the main parts list for each new part number. I know the comparison part works because I replace MyRange with a hard-coded range and it does it fine. Can anyone please point me in the right direction on how to make this work? I'm using 2010 Pro on WinXP SP3.
Thank you.
Dim MyRange as Range
<code>Worksheets("Sheet1").Activate</code>
Set MyRange = Application.InputBox(prompt:="Select range of new part numbers", Type:=8)
After this, I did the comparison looping through the main parts list for each new part number. I know the comparison part works because I replace MyRange with a hard-coded range and it does it fine. Can anyone please point me in the right direction on how to make this work? I'm using 2010 Pro on WinXP SP3.
Thank you.