declaring array

M

Monte0682

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?
 
B

Bob Phillips

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top