The code below clears the desired cells but only for the worksheet 'Spreadsheet'. I would like to perform the same function over a vast number of worksheets in my workbook. The worksheets I would like this to apply to are called 'Spreadsheet (2)', 'Spreadsheet (3)', 'Spreadsheet (4)', 'Spreadsheet (5)' etc. The other worksheets in the workbook called 'Overview', 'Summary' and 'Database' I would prefer this not to be applied to. I don't have very good knowledge of this aspect of excel so any advice on how to amend the module code below to clear the same cells in the similarly named worksheets would be appreciated.
Sub Reset_Cells()
Application.ScreenUpdating = False
Sheets("Spreadsheet").Select
Range("O6,O9,O11,O13").Activate
Selection.ClearContents
Range("A1").Select
Application.ScreenUpdating = True
End Sub
Bookmarks