PC Review


Reply
Thread Tools Rate Thread

Dim ChkBoxes() As New Class1

 
 
PJ Murph
Guest
Posts: n/a
 
      10th Apr 2009
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 With Quote
 
 
 
 
joel
Guest
Posts: n/a
 
      11th Apr 2009
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 With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      11th Apr 2009
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" <(E-Mail Removed)> wrote in message
news:79F7E399-8D73-4F5F-A927-(E-Mail Removed)...
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dim ChkBoxes() As New Class1 Dilemma PJ Murph Microsoft Excel Programming 1 3rd Apr 2009 03:12 AM
Set Class1Var = New Class1 Dave D-C Microsoft Excel Programming 6 15th Sep 2007 12:05 AM
exporting an Access report with chkboxes to word =?Utf-8?B?R2Vvcmdl?= Microsoft Access External Data 1 23rd Jun 2005 06:46 AM
create form2 obkject in class1..... Supra Microsoft VB .NET 1 8th Jan 2005 12:46 PM
This is how you set an SMS to CLASS1 =?Utf-8?B?VmlzaGFsIFJhc3RvZ2k=?= Microsoft Dot NET Compact Framework 0 22nd Jun 2004 01:07 PM


Features
 

Advertising
 

Newsgroups
 


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