View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
rohnds rohnds is offline
external usenet poster
 
Posts: 1
Default Range question in VB

I have a spreadsheet with data in column A starting from A5 ... list o
my pH reading for my aquarium. I also have a chart graphing this data
Right now my data start at A5 and end at A11.

Right now I have created a macro in VB that allow me input the las
cell of my data (example A12, A15), and then used that range (e.g
A5:A15, if I entered A15) to update my graph.

I was wondering if anyone knew how to retrieve the range using VB o
the selected cells. Another word, I want VB to return startig range A
and ending range A15 if I selected A5:A15. I can then use that info t
update my chart thus giving me more flexibility.

Any help would be appreciated

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