LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Passing information from VBA variable to Excel range

I am new to this - sorry for the basic question.
First I grab a range of data from excel and put it in a variant by:
variant_matrix = Range("A1:B100").Value

then do a whole bunch of manipulation in vba,
now I want to pass the variable back to excel in the range("C1:D100")
is there a way to do this efficiently? The only way I have found that works is
to use a loop and do it cell by cell which is very time consuming.
Is there an equivalent to:

Range("C1:D100").Value = variant_matrix


Thank you,
 
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
Newbie stuck on Passing a Variable into a Range Dana DeLouis[_5_] Excel Programming 1 August 13th 03 11:43 PM
Newbie stuck on Passing a Variable into a Range Dave Baranas Excel Programming 0 August 13th 03 07:54 AM
Newbie stuck on Passing a Variable into a Range Bob Kilmer Excel Programming 0 August 13th 03 02:38 AM
Newbie stuck on Passing a Variable into a Range Bob Kilmer Excel Programming 0 August 13th 03 02:20 AM
Passing a variable to a range statement Mervyn Thomas[_3_] Excel Programming 3 July 25th 03 02:40 PM


All times are GMT +1. The time now is 12:30 PM.

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

About Us

"It's about Microsoft Excel"