Darren_workforce
Board Regular
- Joined
- Oct 13, 2022
- Messages
- 146
- Office Version
- 365
- Platform
- Windows
Hello,
I have 12 tabs (Jan, Feb, Mar, Apr...) and anytime the file is opened, I would like to have specific cell values deleted using VBA. I have the code below which works for the range but how should it be adjusted to find and delete specific cell data? In all, I would like all ones, zeroes, bereavement and training removed upon opening the file.
Thank you in advance for assistance!!
I have 12 tabs (Jan, Feb, Mar, Apr...) and anytime the file is opened, I would like to have specific cell values deleted using VBA. I have the code below which works for the range but how should it be adjusted to find and delete specific cell data? In all, I would like all ones, zeroes, bereavement and training removed upon opening the file.
VBA Code:
Private Sub Workbook_Open()
Application.EnableEvents = False
Worksheets("test").Range("A1:A11").Value = ""
Application.EnableEvents = True
End Sub
Thank you in advance for assistance!!