Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Class1Var = New Class1 Dave D-C[_3_] Excel Programming 6 September 15th 07 12:05 AM


All times are GMT +1. The time now is 05:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"