Hi, kjshep,
refer to the range and add EntireRow as otherwise only the cells would get deleted:
Ciao,![]()
Sub DeleteRow() ' ' deleterows Macro ' ' Range("A2:A12").EntireRow.Delete Shift:=xlUp End Sub
Holger
Hi, kjshep,
refer to the range and add EntireRow as otherwise only the cells would get deleted:
Ciao,![]()
Sub DeleteRow() ' ' deleterows Macro ' ' Range("A2:A12").EntireRow.Delete Shift:=xlUp End Sub
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks