oblix
Board Regular
- Joined
- Mar 29, 2017
- Messages
- 183
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- 2003 or older
- Platform
- Windows
- MacOS
- Mobile
- Web
Hi there want to create vba to clear cells on spread sheet
In columns G, and I to AM
The problem is that there are protected cells I dont want to clear
I tried something like this in column h to test but it also clears the protected cells
Sub EmptyStockCount()
On Error Resume Next
Sheets("Blank Stock Sheet").Columns("h:h").Value = vbNullString
On Error GoTo 0
End Sub
Dont understand what I amdoing Wrong
please some assist
In columns G, and I to AM
The problem is that there are protected cells I dont want to clear
I tried something like this in column h to test but it also clears the protected cells
Sub EmptyStockCount()
On Error Resume Next
Sheets("Blank Stock Sheet").Columns("h:h").Value = vbNullString
On Error GoTo 0
End Sub
Dont understand what I amdoing Wrong
please some assist