I have an array that I create in my declarations. Some of my code uses this array when it's not dimensioned. E.G:

VB Code:
  1. Dim array1() as string
  2. Private Sub Form_Load()
  3.   Msgbox Ubound(array1)
  4. End Sub

That would give you a "Subscript out of range" because it's not dimensioned yet. Well that's my problem, I need to tell my program to not use my array if it's not dimensioned yet. How would I go about doing this? Thanks.