Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to create a loop macro that will delete a row based on its value,
but somehow is not working. I'm not an expert in macros so can anyone point me in the right direction? Please HELP! Sub rowdeletion() ' rowdeletion Macro x = ActiveCell.Row Do While Cells(x, 2).Value < "" (I keep getting a type missmatch error on this line) 'If (Columns("B:B").Select < "#VALUE!") Then ' Rows("1:1").Select ' Selection.Delete Shift:=xlUp ' End If x = x + 1 Loop End Sub Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro that isn't working | Excel Discussion (Misc queries) | |||
macro was working, now it's not working | Excel Programming | |||
Macro working in Excel 2003; not working in Excel 2000 | Excel Programming | |||
Working on a macro | Excel Programming | |||
Don't want to SEE macro working | Excel Programming |