L
laurent.vanroy
Hello,
I have a developed a complex .xla.
Since the beginning of the week, when I start one of the forms I
receive a 459 error "Objet or Class does not support the set of
events".
I've read the help, posts on usenet and checked the following points:
- WithEvents: only one class with one WithEvents and one instance of
this class. I removed the "WIthEvents" for the tests,
- Implements: None
- Arrays of controls: Not available in VBA (only a VB feature?)
- Objects as Sub parameters: One UserForm Sub with one _Object_
parameter (I use it to pass a TextBox Control). I removed it too.
All the Modules have the _Option Explicit_. It compiles successfully.
The message occurs whenever I start that form and only that form. A
breakpoint on the UserForm_Initialize doesn't help to see what is the
problem.
Actually, I have done no modifications to the code! Thus it should be
related to an external cause, like (des)installation of other programs.
Does this sound logical ?
I would greatly appreciate any clue about that, any lead, ...
Thanks
Laurent
I have a developed a complex .xla.
Since the beginning of the week, when I start one of the forms I
receive a 459 error "Objet or Class does not support the set of
events".
I've read the help, posts on usenet and checked the following points:
- WithEvents: only one class with one WithEvents and one instance of
this class. I removed the "WIthEvents" for the tests,
- Implements: None
- Arrays of controls: Not available in VBA (only a VB feature?)
- Objects as Sub parameters: One UserForm Sub with one _Object_
parameter (I use it to pass a TextBox Control). I removed it too.
All the Modules have the _Option Explicit_. It compiles successfully.
The message occurs whenever I start that form and only that form. A
breakpoint on the UserForm_Initialize doesn't help to see what is the
problem.
Actually, I have done no modifications to the code! Thus it should be
related to an external cause, like (des)installation of other programs.
Does this sound logical ?
I would greatly appreciate any clue about that, any lead, ...
Thanks
Laurent