I won't speak to "more elegant", but if the functions in the freely
downloadable file at http://home.pacbell.net are available to your
workbook, here is a different way:
Dim myArray()
'. . . .
MsgBox ArrayDimensions(myArray)
This will display the number of dimensions; 0 if it has not yet been
dimensioned.
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.