Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 783
Default Dim MyArray vs. Dim MyArray()

Peter T wrote:
Particularly with respect to the broad claim

"I have done some studying on this issue and I find that in vb version 6,

Dim MyArray1()

isn't an array of variants."

users should be aware that if the array is to be loaded with looping,
The Variant() array [Dim MyArray()] appears (from limited testing) to
load faster than the array contained within a Variant variable [Dim
MyArray].

Alan Beban



Alan,

I appreciate you originally qualified with "This post relates to xl2000",
and in latest you refer to loading by looping. But if it's expected to cater
for Excel 97 and loading by "dumping", Dim MyArray1() fails for me.


As it does for everyone; that was acknowledged in the original thread
two years ago. The issue arose from Microsoft's change in xl2000, which
allowed direct assignment of a worksheet range to MyArray after Dim
MyArray().

I believe that that indeed was what Tom Ogilvy referred to as
counterproductive with respect to the use of Dim MyArray().

Thanks for your interest and input.

Alan Beban
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
If Range("C1") is in MyArray zSplash Excel Programming 3 April 23rd 04 04:22 PM
Can I reset an array to myarray() Alan Beban[_4_] Excel Programming 1 February 20th 04 06:16 PM
Can I reset an array to myarray() Chip Pearson Excel Programming 0 February 20th 04 05:41 PM
Redim MyArray Peter Pantus Excel Programming 2 September 27th 03 03:37 PM


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