Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It is. Couldn't have had a problem in the tests as it just extended the
range to 2 & iLastRow, so if iLastrow was 72, it would set it to 272, not a problem, just a waste. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "kounoike" wrote in message ... "Bob Phillips" wrote in message ... Private Sub Check_For_Existing_Oracle_No_Click() Dim iLastRow As Long Dim rng As Range Worksheets("Upload Data").Select iLastRow = Cells(Rows.Count, "A").End(xlUp).Row Set rng = Range("C1:C" & iLastRow) rng.AutoFilter rng.AutoFilter field:=1, Criteria1:=Range("oracle_no").Value Set rng = Range("C2:C2" & iLastRow).SpecialCells(xlCellTypeVisible) Is the code above typo? Maybe Set rng = Range("C2:C" & iLastRow).SpecialCells(xlCellTypeVisible) keizi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Delete every 3rd row, then delete rows 2-7, move info f/every 2nd row up one to the end and delete the row below | Excel Programming |