A
ADK
If someone uses this code, but clicks cancle on the inputbox you get a code
error. What cacode can be added to prevent this error?
Sub SelectRange()
Dim UserRange As Range
Set UserRange = Application.InputBox( _
prompt:="Please input or select a range", Type:=8)
UserRange.Font.Bold = True
End Sub
error. What cacode can be added to prevent this error?
Sub SelectRange()
Dim UserRange As Range
Set UserRange = Application.InputBox( _
prompt:="Please input or select a range", Type:=8)
UserRange.Font.Bold = True
End Sub