Hello, I am trying to find a way to use VBA to clear all cells below row 1 on an excel worksheet.
Row A has headers I want to keep but would like vba code that I can put into a button to clear all cells under row 1, so clear rows 2,3,4, etc.. Also the sheet is called "User Info". So would like to see i could incorporate that
Tried using this but it is clearing the whole worksheet
first book is the workbook i dim
Row A has headers I want to keep but would like vba code that I can put into a button to clear all cells under row 1, so clear rows 2,3,4, etc.. Also the sheet is called "User Info". So would like to see i could incorporate that
Tried using this but it is clearing the whole worksheet
first book is the workbook i dim
VBA Code:
firstbook.Worksheets("User Info").Cells.clear
Last edited: