Here is my code, I am attempting to delete only rows in the second sheet in the workbook called RawData. This code will delete rows in the active sheet, the problem is that the button is on page 1, not page 2... I want the data to stay on page 2.
![]()
Sub Deleterows() Columns("C:C").SpecialCells(xlCellTypeBlanks).EntireRow.Delete End Sub
Bookmarks