Sunday, April 21, 2019

To delete first row on excel depending how many times



To delete first row on excel depending how many times

Sub sbVBS_To_Delete_EntireRow_For_Loop()
Dim iCntr
    For iCntr = 1 To 12 Step 1
        Rows(1).EntireRow.Delete
    Next
End Sub

No comments:

Post a Comment