Say if i had the following code...
VB Code:
  1. 'This is in a module
  2. Public Word_Str() As String
  3.  
  4.  
  5. Public Sub Send_Words(Amount_Of_Words As Integer)
  6.  
  7. ReDim Word_Str(0 To Amount_Of_Words)
  8.  
  9. For I = 0 To Amount_Of_Words
  10.  
  11. Word_Str(I) = Get_Random_Word 'This is just a function that produces a
  12.                                               'random word of any length when called.
  13. Next I
  14.  
  15. End Sub

Now if i call this sub from a form the data that i get back is null and there's only one array (just 0) in the actual array, but if i call it from the same module the code works fine. Also if i don't ReDim the array it works, but i can't have a variable array.

Can any one help me make it so that i can still have the public array that it variable and not turning the sub into a function and so that i can read it from any other part of the project.