View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Robert[_32_] Robert[_32_] is offline
external usenet poster
 
Posts: 23
Default Copy a range into an array

Thank You. Worked great.
--
Robert Hill



"WhytheQ" wrote:

hopefully this'll work:

Dim myArray()
Erase myArray 'incase it's already full
myArray =
Application.Transpose(ThisWorkbook.Sheets("Ranges" ).Range("B3:B23"))

Rgds
J


On Mar 23, 2:55 pm, Robert wrote:
I have a range ("B3:B23") in worsheet "Ranges" and I need to loop thru this
range and copy the values into an array.

Many Thanks
--
Robert Hill