I am writing a script that will loop through an Excel spreadsheet and find if there are duplicates of selected cells. If there are duplicates then the function will return
You always can use "isArray()" function
Dim yourArray as variant
if not isArray(your_array) then
msgbox("empty")
else
msgbox("with data")
end if
.. I am still getting error #9 script out of bounds
if you get error #9....doesn't that mean that you are geting the info that you need (array is empty)?