I cant seem to work out why this errors:
It errors on this code "Sheets("CFUs").Range("B4", Range("B4").End(xlDown).Offset(0, 3)).ClearContents"
However if I use Range("B4:E46"), instead of the dyanmic down-and-across, it works....
Code:
Sub ReturnToStart()
ret = MsgBox("Are you sure you want to reset all the completions and start a new HSC servicing?", vbYesNo + vbCritical, "Confirm Reset")
If ret = vbYes Then
For a = 1 To 5
For c = 1 To 65536
If Sheets("HSC 3 Day " & a).Cells(c, 6).Value = "P" Then
Sheets("HSC 3 Day " & a).Cells(c, 6).Value = ""
Else
End If
Next
Next
Sheets("CFUs").Range("B4", Range("B4").End(xlDown).Offset(0, 3)).ClearContents
Call Completer
Else
End If
End Sub
However if I use Range("B4:E46"), instead of the dyanmic down-and-across, it works....