I'm sure there's a better way, but try this:
Then comment out the "ReDim" and run it again.Code:Dim MyArray() As Integer ReDim MyArray(10) On Error Resume Next MsgBox UBound(MyArray) If Err.Number <> 0 Then MsgBox Err.Description End If
|
Results 1 to 25 of 25
Threaded View
|
Click Here to Expand Forum to Full Width |