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: 27,285
Default OptionButton problem

If OptionButton1.Value = false And _
OptionButton2.Value = false And _
OptionButton3.Value = False Then
GoTo Finished

End If



--
Regards,
Tom Ogilvy


"Patrick Simonds" wrote in message
...
I am trying to include the code below in the CommandButton1 click routine
so that 1 of the three OptionButtons is selected before the macro
continues. There are 3 OptionButtons and all three are assigned to
GroupName Status. But even if I have an OptionButton selected the macro
proceeds to Finished, and I am not sure why.


If OptionButton1.Value = False Then
GoTo Finished
ElseIf OptionButton2.Value = False Then
GoTo Finished
ElseIf OptionButton3.Value = False Then
GoTo Finished

End If



 
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
for each optionbutton masterphilch Excel Programming 1 September 21st 05 05:37 PM
optionbutton benb Excel Programming 1 March 29th 05 09:41 PM
OptionButton value Patrick Simonds Excel Programming 2 January 17th 05 10:50 AM
which optionbutton is on Keyur Excel Programming 1 July 25th 04 05:49 AM
OptionButton problem Paul Excel Programming 1 June 14th 04 01:33 PM


All times are GMT +1. The time now is 06:46 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"