Hi.
I have this array i need in many subs, but I don't know how to declare it outside, so I repeat it in almost every sub.
It looks like:
Why can't I declare it outside subs, and just use it later?
I have this array i need in many subs, but I don't know how to declare it outside, so I repeat it in almost every sub.
It looks like:
Dim kucice() As CheckBox = {CheckBox1, CheckBox2, CheckBox3, CheckBox4, CheckBox5, CheckBox6, CheckBox7, CheckBox8, CheckBox9, CheckBox10, CheckBox11, CheckBox12, CheckBox13, CheckBox14, CheckBox15, CheckBox16, CheckBox17, CheckBox18, CheckBox19, CheckBox20}
Why can't I declare it outside subs, and just use it later?