Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 271
Default option button and userform question

Is there a default property setting for an option button that will allow any
key stroke to select the the option (optionbutton.value = true)?

Also, this is in another post but I will take an answer here. What is wrong
with the following?

..cmbxPhonePre.Value = Mid(WSSCal.Range("Phone_Number").Value, 4, 3)



--
Thanks
Shawn
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default option button and userform question

On Jun 28, 4:14 pm, Shawn wrote:
Is there a default property setting for an option button that will allow any
key stroke to select the the option (optionbutton.value = true)?

Also, this is in another post but I will take an answer here. What is wrong
with the following?

.cmbxPhonePre.Value = Mid(WSSCal.Range("Phone_Number").Value, 4, 3)

--
Thanks
Shawn


Shawn,

I'm not sure about finding a way for "any" key stroke to select an
option, but the space bar will select options.

As for the Mid Function, make sure that the WSSCal is an object and
the "." before cmbxPhonePre inferrs that you have the syntax within a
With...End With statement.

I hope this helps.

Matt

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
need help on how to grey out one option button in one group box based on the selection of another option button in another group box George Excel Programming 12 March 11th 07 02:08 PM
Excel VBA option button question CindyG Excel Programming 2 June 5th 06 03:52 PM
VBA Option Button question harpscardiff[_21_] Excel Programming 8 March 2nd 06 02:29 PM
keep source formatting is not an option in paste option button Tina Excel Discussion (Misc queries) 0 February 20th 06 09:58 PM
Looping procedure calls userform; how to exit loop (via userform button)? KR Excel Programming 6 July 27th 05 12:57 PM


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