Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 783
Default Best way to paste a variant array into a range?

Nope. And it doesn't matter whether the array is of Variant() type or
some other type.

Alan Beban

AnneB < wrote:

Hi, Does anyone know the best way to paste an array into a range? I have
the following code that works, but I was wondering if there is a better
way.

Worksheets("Sheet1").Cells(1,1).Resize(UBound(vArr ay, 1),
UBound(vArray, 2)).Value = vArray

Thanks!

Anne


---
Message posted from http://www.ExcelForum.com/

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
How do I assign range to variant and use Mike H[_2_] Excel Discussion (Misc queries) 7 June 7th 07 01:40 AM
Variant Array with String Values - Type Mismatch jamiee Excel Programming 2 March 7th 04 03:39 AM
basic variant to array conversion Jeff Sward Excel Programming 1 January 26th 04 07:59 PM
Asign Array Variant to Column William C. Smith Excel Programming 3 December 27th 03 04:20 AM
variant array containing cel adresses convert to actual ranges-array Peter[_21_] Excel Programming 5 December 10th 03 09:50 PM


All times are GMT +1. The time now is 05:00 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"