View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Phil Smith Phil Smith is offline
external usenet poster
 
Posts: 50
Default How to: User selected range?

Nope. It runs with no errors, but the cells covered by that range do
not change to the selected cells. The range remains the same...


Gary''s Student wrote:
Sub servient()
Dim r As Range
Set r = Application.InputBox(Prompt:="Select range", Type:=8)
Set MyRangeName = r
End Sub