View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RITCHI RITCHI is offline
external usenet poster
 
Posts: 7
Default Use variable to reference a range?

Hi

Is it possible to use a variable as part of a range reference?
In the example below I want to change the value 6000 to a different
value that changes from time to time. Can I substitute 6000 for x, y
z etc.
Range("d4:d6000").Value = 1

Any help would be gratefully received.

Thanks

Ritchi