Qualifying OptionButton with ro without MSForms
Hi Augustus,
what's the different
between the following:
Public WithEvents OptionGroup As OptionButton
and
Public WithEvents OptionGroup As MSForms.OptionButton
There is no difference, the point is that you have a
closer definition for OptionButton if you write
MSForms.OptionButton because herewith you give the
connection that OptionButton is a part of the Forms system
within Excel. That could be helpful for a correct
definition for Excel in some cases... If you do not
exactly know where your data type is included, use the
Object Browser (use F2 within the VBA Editor) and search
for the data type... then you can find out where it is
defined within excel.
Best
Markus
ie, with and without the MSFOrms???
In addition, could someone please let me know where I can
find more info on
Class Modules?
Thanks
Augustus
.
|