This way is fine, the message box line for showing the address was just for purposes of this code. You can delete it if you want, and in its place, insert whatever code you were thinking of that was going to use the SelRange variable, becuase at that point it would have been defined by the proper selection of a range by using the inputbox as you did.
In your case this would suffice, given your appended example above:
With SelRange
.Value = .Value
End With
The entire macro would look like this then:
Sub DeeMacro()
Dim SelRange As Range
On Error Resume Next
Set SelRange = Application.InputBox("Select A Range", "Range Select", Type:=8)
If Err.Number = 424 Then
Err.Clear
Set SelRange = Nothing
MsgBox "No range was entered.", 48, "Cancelled"
Exit Sub
End If
With SelRange
.Value = .Value
End With
Set SelRange = Nothing
End Sub