View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
[email protected][_2_] aidan.heritage@virgin.net[_2_] is offline
external usenet poster
 
Posts: 17
Default Reference to worksheet range in R1C1

You could use special cells xllastcell to get the last cell, or if you
can be certain that you don't have blanks in your data you could use
the COUNTA function to count the entries - which gives you the
necessary numeric part of the reference. You could even create a
dynamic named range and reference this.