a couple of examples of using variables with range
Range("a1:d" & myval).Select ' myVal = row number
Range("a1:" & MyCol & MyRow).Select 'MyCol = Column letter, MyRow
row number
myval = ActiveCell.SpecialCells(xlLastCell).Address
Range("a1:" & myval).Selec
--
Message posted from
http://www.ExcelForum.com