View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
morry[_21_] morry[_21_] is offline
external usenet poster
 
Posts: 1
Default Variable in range

Can a variable be put into a range? If so could somebody tell me wha
is wrong with this code. (Cell B6 hold a numeric value.)

Dim x As Range

x = Range("B6").Value

Rows("1:x").Select
Selection.Insert Shift:=xlDown

Thank you for the help

Morr

--
Message posted from http://www.ExcelForum.com