LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Object problem

I have 12 optionbuttons and I am trying to run this code:
objOB1...objOB12

Private objOB As Object
....

Set objOB = OptionButton

For n = 1 To 12
If objOB(n).Value = True Then Month = n
Next n

but it gives me a Run-time error '91'
What I am doing wrong?
 
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
Insert Object Problem Raj Excel Discussion (Misc queries) 1 April 20th 10 05:18 PM
insert object problem Jeremy Excel Discussion (Misc queries) 0 October 2nd 07 09:34 PM
Problem using an object inside another object.. Michel S. Excel Programming 2 March 1st 07 09:59 PM
Object Is Object evaluation problem mickey Excel Programming 4 November 20th 06 05:40 PM
Problem with ADO with Parameter Object Tod Excel Programming 1 May 7th 04 11:03 AM


All times are GMT +1. The time now is 08:04 AM.

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"