SophieF114
New Member
- Joined
- Aug 14, 2019
- Messages
- 7
hi all
I have a column with a formula and want VBA to clear those cells taht contain the #Value ! error.. I put together below code, which doesn't error but also doesn't do what I want it to do?
I have a column with a formula and want VBA to clear those cells taht contain the #Value ! error.. I put together below code, which doesn't error but also doesn't do what I want it to do?
Rich (BB code):
Dim find As String
find = "#Value !"
Select Case find
Case Cells(2, 3).Value
Range("C2:C9999").Select
Selection.ClearContents
End Select