Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JW JW is offline
external usenet poster
 
Posts: 22
Default efficiently copy values from a Range of cells to an array (in VB.N

Does anybody know how to efficiently copy (assign) values from a Range of cells into an VB(.NET) array variable (2d).

The other was is quite easy and well documented
(i.e. just do this: oSheet.Range("A1:C100").Value = DataArray
where DateArray is an array of 100*3)

The other way around seems more complicated though (and copying the values cell by cell is much too slow).

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking multiple cells efficiently Ahmad Sinno Links and Linking in Excel 0 February 1st 06 03:05 AM
efficiently copy values from a Range of cells to an array (in VB.N JW Excel Programming 0 June 22nd 04 11:15 AM
Efficiently transform variables into range address Charles Williams Excel Programming 0 May 3rd 04 06:32 PM
Efficiently transform variables into range address Frank Kabel Excel Programming 0 May 3rd 04 04:10 PM
How Can I copy all value of the array into the range? sjoo Excel Programming 0 August 8th 03 07:30 AM


All times are GMT +1. The time now is 12:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"