Hello all,
I am trying to clear only the numeric values from column E.
With my little knowledge (and help from google) I have created this
Sub ClearContentsITEMS()
ActiveSheet.Range("E1", Range("E" & Columns("E").SpecialCells(xlCellTypeConstants, xlNumbers).Row)).ClearContents
MsgBox "ITEMS form cleared!"
End Sub
And error 1004 ...
What I am doing wrong?
I want to clear all the contents from column E that are Numbers (keep formulas, special char, text etc)
Any help will be appreciated.
Thank you !
I am trying to clear only the numeric values from column E.
With my little knowledge (and help from google) I have created this
Sub ClearContentsITEMS()
ActiveSheet.Range("E1", Range("E" & Columns("E").SpecialCells(xlCellTypeConstants, xlNumbers).Row)).ClearContents
MsgBox "ITEMS form cleared!"
End Sub
And error 1004 ...
What I am doing wrong?
I want to clear all the contents from column E that are Numbers (keep formulas, special char, text etc)
Any help will be appreciated.
Thank you !