View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Peter Bernadyne Peter Bernadyne is offline
external usenet poster
 
Posts: 1
Default How to Read Worksheet Data into VBA Array?


Does anyone know of an efficient way to read worksheet data in a
specified range into a VBA array?

For instance, imagine I have a congituous matrix of numbers in Sheet1
in cells A1 through G10.

How might I insert Range("A1:G10").Values into a VBA array in one fell
swoop?

Currently I am looping to populate my VBA array (obviously asinine, I
know)...surely there must be a better way?

Any advice would be gratefully received.


--
Peter Bernadyne
------------------------------------------------------------------------
Peter Bernadyne's Profile: http://www.excelforum.com/member.php...fo&userid=7017
View this thread: http://www.excelforum.com/showthread...hreadid=560749