How Redim 'Unidimensional' Array?

F

Freddy Coal

Hi, I don't know how redim an array, My problem whit an example:

I define my array

Dim Ary as array

I put three elements inside my array

Ary = Split("one,two,three", ",")

I would like redim my array for delete the space "Three", how make that?

I need in my array only
Ary (0) = "One"
Ary(1) = "Two"

Thanks a lot for any help, I'm using Redim and Redim preserve, but this
commands only work when I define array with more than one element.

My best regards.

Freddy Coal
 

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