Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a simple user form with three option buttons. I would like the
value(true or false) of the option buttons to remain the same before the userform is unloaded. I thought I would store the value in a cell on the spreadsheet with the following code: Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) Sheets("sheet1").Range("f1") = OptionButton1.Value End Sub But the ob value is always false when the userform is reloaded, even though it was true when unloaded. Does anyone have a way to do this? Thanks in advance for any advice! Greg |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Populate userform combobox with option button | Excel Programming | |||
option button and userform question | Excel Programming | |||
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 | Excel Programming | |||
Userform retain data after closing and reopening | Excel Programming | |||
Global value does not retain value when UserForm is hide | Excel Programming |