Array Problem

Hi,

I have an array

name(0) = “Jones”

name(1) = “Wesley”

name(2) = “Thomas”

name(3) = “tony”

name(4) = “frank”

this array is a dynamic one.

once i get these array values, i need another array to be filled up dynamically as below. (Its not but the reverse of array i got first)

newname(0) = “frank”

newname(1) = “tony”

newname(2) = “Thomas”

newname(3) = “wesley”

newname(4) = “jones”

This i need to implement dynamically in the code.

Can anyone help me on this.

Thanks in Advance.

Subject: Array Problem

Something like this should do once you have the “name” array done:

i = Ubound(name)

redim newname(i)

for x = 0 to Ubound(name)

newname(i) = name (x)

i = i-1

next x