Hi all -
I am learning VBA and need some help understanding how the following code is able to organize an array of strings in alphabetical order. With regard to the For...Next section of code, I'd like to understand how checking if strArray(X) > strArray (Y) results in an alphabetized list. I'm also confused by the assignments - what does it mean when strTemp = strArray(X) and yet in the very next line of code strArray(X) = strArray(Y), and so on. If someone could explain in words how this section alphabetizes the array I'd really appreciate it. Thanks!
________________________________________________________________________________________________________________________
Please Login or Register to view this content.
Bookmarks