abberyfarm
Well-known Member
- Joined
- Aug 14, 2011
- Messages
- 733
Hi there,
I use this code to delete #DIV/0! errors in my worksheet and it works fine
However it will not work for column AX which as been calculated using a formula (= P/M).
Any ideas on how I can get it to work? I've tried this code but it will not work either
Thanks
I use this code to delete #DIV/0! errors in my worksheet and it works fine
Code:
Sub DeleteErrors()
ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants, 16).ClearContents
End Sub
However it will not work for column AX which as been calculated using a formula (= P/M).
Any ideas on how I can get it to work? I've tried this code but it will not work either
Code:
Sub Deleteax()
Worksheets("kinematic").Range("ax:ax").SpecialCells(xlCellTypeConstants, 16).ClearContents
End Sub