![]() |
Dim ChkBoxes() As New Class1
I have a module containing 'Dim ChkBoxes() As New Class1' and Class module
with 'Public WithEvents CBXGroup As MSForms.CheckBox'. All of the ChkBoxes work perfectly. When I place an OptionButtons on this form I get an error. |
Dim ChkBoxes() As New Class1
Did you try putting two option button on the form? If you have a Group it
expects more than one button. "PJ Murph" wrote: I have a module containing 'Dim ChkBoxes() As New Class1' and Class module with 'Public WithEvents CBXGroup As MSForms.CheckBox'. All of the ChkBoxes work perfectly. When I place an OptionButtons on this form I get an error. |
Dim ChkBoxes() As New Class1
No, there can be a group with one member.
Did you change the declaration to MSForms.OptionButton? - Jon ------- Jon Peltier, Peltier Technical Services, Inc. http://PeltierTech.com/WordPress/ Advanced Excel Conference - Training in Charting and Programming http://peltiertech.com/Training/2009...00906ACNJ.html _______ "joel" wrote in message ... Did you try putting two option button on the form? If you have a Group it expects more than one button. "PJ Murph" wrote: I have a module containing 'Dim ChkBoxes() As New Class1' and Class module with 'Public WithEvents CBXGroup As MSForms.CheckBox'. All of the ChkBoxes work perfectly. When I place an OptionButtons on this form I get an error. |
All times are GMT +1. The time now is 04:56 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com