View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
eyecalibrate[_2_] eyecalibrate[_2_] is offline
external usenet poster
 
Posts: 1
Default refering to a range with a variable

I'm looking for a way to refer to a range with a variable. Let me
demonstrate.

Dim MyVar
MyVar = ActiveCell.Value
Range("A14").Select

I've tried this:

Dim MyVar
MyVar = ActiveCell.Value
Range("A(MyVar)").Select

But (of course) it doesn't work; however this is essentially what I
need.

How can I make this happen?


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