Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default radiobuttons switch with space

Hi

I would like to know how I can switch between options within radiobuttons just by moving the cursor (so without havind to use the spacebar to select the option). Ho can I do that

Thx in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default radiobuttons switch with space

Here's the easy way:

If you've got lots of OptionButtons (more than it's worth adding these
procedures manually) then you may want to investigate some form of event
capturing.


Private Sub OptionButton1_MouseMove(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)
OptionButton1.Value = True
End Sub

Private Sub OptionButton2_MouseMove(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)
OptionButton2.Value = True
End Sub

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Courage" wrote in message
...
Hi,

I would like to know how I can switch between options within radiobuttons

just by moving the cursor (so without havind to use the spacebar to select
the option). Ho can I do that ?

Thx in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default radiobuttons switch with space

thank you very much !
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
Space-bar -- "recurring" instead of <space CRW Excel Discussion (Misc queries) 1 May 2nd 09 05:46 AM
Space removal - a first name,space last name Tech Express Excel Discussion (Misc queries) 4 February 9th 09 08:24 PM
Can I automatically add space after ea. row ("Space After" in Word Reddheddz Excel Discussion (Misc queries) 0 June 17th 08 05:55 PM
formula that will go up one space if no value in specified space skammi Excel Worksheet Functions 1 November 16th 05 03:28 PM
Paper Space / Model Space ? Coolboy55 Excel Discussion (Misc queries) 0 September 1st 05 08:58 PM


All times are GMT +1. The time now is 10:31 AM.

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

About Us

"It's about Microsoft Excel"