I am trying to the the following code but I am getting this error, run-time error '13': Type mismatch:
If ActiveSheet.Range("G11:G88") > 0 Then
MsgBox "No code entered!", vbExclamation, "Error"
Exit Sub
End If
Am I using the correct syntax and does anyone know how to resolve my error so that it works?
Many thanks.
If ActiveSheet.Range("G11:G88") > 0 Then
MsgBox "No code entered!", vbExclamation, "Error"
Exit Sub
End If
Am I using the correct syntax and does anyone know how to resolve my error so that it works?
Many thanks.