Declare
Public ArrayA as Variant
outside of any procedure
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Monte0682" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello when I declare an array in function called initialize like this:
>
> ArrayA (0)="something"
>
> it is remembered...
>
> if I call ArrayA(0) in another function is knows the value is
> something
>
> ...
>
> Now I tried declaring an array like this:
>
> Dim ArrayA as Variant
> ArrayA=array("something")...
>
> when I call it in another function it shows blank for ArrayA(0)...
>
> What I am doing wrong?
>
|