Which is better?
From: Amar (anonymous_at_discussions.microsoft.com)
Date: 03/01/04
- Next message: ronenpl: "Re: VBA function for having excel find range automatically."
- Previous message: Max: "Not recalc in custom function"
- Next in thread: Tom Ogilvy: "Re: Which is better?"
- Reply: Tom Ogilvy: "Re: Which is better?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Mar 2004 04:36:05 -0800
This may be just simple, I read in some articles of Excel VBA that use of variants will put unnecessary overhead on execution, so it better to define every variable. but writing to a range of cells with a variant array is supposed to be fast.
some thing like,
range("A1").Resize(1,17)=getVariantArray
But will this variant array affect the performance? Is looping through all the individual cells a better option?
Any help in this regard will be appreciated
Thanks and Regards,
Amar
- Next message: ronenpl: "Re: VBA function for having excel find range automatically."
- Previous message: Max: "Not recalc in custom function"
- Next in thread: Tom Ogilvy: "Re: Which is better?"
- Reply: Tom Ogilvy: "Re: Which is better?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|