I know you can not declare an object WithEvents as an array. But why can't I set an object = to another object that in is an array.
Eg.
Dim Object WithEvents as RichTextBox
Set Object = RichTextBox (index)
I get the above error? Am I not allowed to do this? If I make RichTextBox1 a single object (not an array) it works fine.
Thanks in Advance
Rob
Eg.
Dim Object WithEvents as RichTextBox
Set Object = RichTextBox (index)
I get the above error? Am I not allowed to do this? If I make RichTextBox1 a single object (not an array) it works fine.
Thanks in Advance
Rob