Re: Fastest way to reset to zero an array
- From: "Jim Rech" <jrrech@xxxxxxxxxxx>
- Date: Tue, 4 Sep 2007 08:47:00 -0400
Is there a better way?
Erase ArrayName
--
Jim
"Charles" <spam@xxxxxxxxxxx> wrote in message
news:1188904144.609096.284230@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Hello
|
| This is a relatively simple question but I can't find it on google
| group. What is the fastest way to reset an array to zero (or the value
| by default). (in this case, performance is key, every micro-second
| counts!)
|
| Intuitively, I would say that going through every single cell and
| setting it to zero must be under-efficient, as VBA has to interpret a
| let more instructions that if there is a function that already does
| that. I was thinking to "redim". But zero-ing an array is not redim's
| main purpose. Is there a better way?
|
| Thanks
| Charles
|
.
- Follow-Ups:
- Re: Fastest way to reset to zero an array
- From: Charles
- Re: Fastest way to reset to zero an array
- References:
- Fastest way to reset to zero an array
- From: Charles
- Fastest way to reset to zero an array
- Prev by Date: Re: time sensitive file?
- Next by Date: Re: Fastest way to reset to zero an array
- Previous by thread: Re: Fastest way to reset to zero an array
- Next by thread: Re: Fastest way to reset to zero an array
- Index(es):
Relevant Pages
|