H
Henrietta Klaus
OK I have a bit of a tricky problem. I define the dimension for an array in
the code for a userform. the dimension is defiend variably so i cannot
replace the range with a number. this array is then intended to be used in a
modul in which a have the major parts of my code. in this modul I also
declare the array (since otherwise I get an error..dont ask me why). the code
for the declaration is:
Public blnCheckBoxArray() As Boolean
the sub in the userform code that sets the dimension is also public.
however when I refer to the array in the modul the program does not
understand, i get error number 9. Index outside of interval. how shall I code
so that I can use the array in the modul?
the code for a userform. the dimension is defiend variably so i cannot
replace the range with a number. this array is then intended to be used in a
modul in which a have the major parts of my code. in this modul I also
declare the array (since otherwise I get an error..dont ask me why). the code
for the declaration is:
Public blnCheckBoxArray() As Boolean
the sub in the userform code that sets the dimension is also public.
however when I refer to the array in the modul the program does not
understand, i get error number 9. Index outside of interval. how shall I code
so that I can use the array in the modul?