View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default Load selection into an Array - VBA

One way:

Dim vArr As Variant

vArr = Range("A1:J10").Value

which loads the values in the range into a (1 To 10, 1 to 10) variant
array.



In article
,
brittonsm wrote:

How do I take a selection of cells on the sheet and load them into an
Array in VBA?

-Steve