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: 62
Default Preserve last selection of an OptionButton

How can I get VBA to remember the last used selection for a group of Option
Buttons in UserForm1?

I have these buttons in a group in UserForm1:
OptionButton1
OptionButton2
OptionButton3
OptionButton4
OptionButton5

If the user selects OptionButton3 on his last visit, I would like this
button to remain checked the next time he displays UserForm1.
Say another week later, if he selects OptionButton5, I'd like the UserForm
to remember this selection being the last used selection.
This is exactly how the buttons in ToolsOption appears.

Thanks a lot.

--
Edmund
(Using Excel 2000)
 
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
A value based on OptionButton selection Sony Excel Programming 3 August 16th 06 08:16 PM
for each optionbutton masterphilch Excel Programming 1 September 21st 05 05:37 PM
OptionButton nrage21[_70_] Excel Programming 0 September 29th 04 12:23 AM
OptionButton selection dilema Paul Excel Programming 1 August 24th 04 01:45 PM


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

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"