Excellers,
How could I delete rows from sheets("LISTS") with IDs that are not listed in the sheets("Report")?
Attached the sample workbook.
SampleV1.xlsx
Help would be appreciated!
Thanks.
Excellers,
How could I delete rows from sheets("LISTS") with IDs that are not listed in the sheets("Report")?
Attached the sample workbook.
SampleV1.xlsx
Help would be appreciated!
Thanks.
Please find the attached sheet to see if this is what you want.
Regards
sktneer
Treat people the way you want to be treated. Talk to people the way you want to be talked to.
Respect is earned NOT given.
Excellent work, sktneer!
I need some explaining for this code:
rng2, Cells(i, 2)
What does 2 represent?
Thanks!
rng2 is a range as you can see the following line in the code
Set rng2 = ws2.Range("A7:A" & lr2)
So rng2 is a range from A7 to last non empty cell in the column A in report sheet.
And cells(i,2) is is equivalent to cell Bi in the List sheet. When the code runs first time i=1360 so cells(i,2) would be B1360.
Ahh interesting! Thank you very much for a brief lesson.
There still are kind people lingering on the face of Earth these days.
Marking as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks