Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
I have a little problem, I have a list of values open in one workbook, and another list of value in a second open workbook. What I need to do is loop through each of the values with the first list, if the value appears on the second list I then wish to delet the entire row the value is on with the first list. Hope that makes sense. I have a code that i have done, dont laugh! but this seems to take a while to run, and I am sure theres a better way then what I am doing, any help/suggestions greatly recieved my codes Range("e15").Select Do Until ActiveCell = "" orderno = ActiveCell Windows("national calling list.xls").Activate Range("d2").Select Do Until ActiveCell = "" If ActiveCell = orderno Then check = 1 End If ActiveCell.Offset(1, 0).Select Loop Windows("end user calling list ver8.xls").Activate If check = 1 Then ActiveCell.EntireRow.Delete Else: ActiveCell.Offset(1, 0).Select End If check = 0 Loop |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checking Data, Help Please | Excel Programming | |||
Checking entered data against exisitng data | Excel Programming | |||
Checking range of cells for entry then checking for total | Excel Programming | |||
Please HELP: Checking data | Excel Worksheet Functions | |||
checking data | Excel Programming |