storemannequin
Board Regular
- Joined
- May 29, 2010
- Messages
- 108
I'm trying to set up this variable so I can loop in this column to find the 0's and then when found, to delete the entire row. I'm trying to set Q to equal the column header of QTY but cannot seem to get it to execute.
also, if anybody knows of a better way to do this task without looping, that's be instructive as well!
Thanks
also, if anybody knows of a better way to do this task without looping, that's be instructive as well!
Thanks
Code:
Sub FindQTY()
With Rows("1:1")
Set Q = Cells.Find(What:="QTY", After:=ActiveCell, LookIn:=xlValues, LookAt:= _
xlWhole, SearchOrder:=xlByRows).Select
End With
End Sub