FryGirl
Well-known Member
- Joined
- Nov 11, 2008
- Messages
- 1,362
- Office Version
- 365
- 2016
- Platform
- Windows
I have multiple option buttons on a user form. Each of those option buttons will be selected, one after the other, but one at a time. In other words, I'll select the first option button and then the user form will close. The next time I open the user form, I'd like to see a forecolor on the option button text indicating that option has been used already. Then, when all is done, I'd like to select the last option button which resets all of the option buttons to not have the forecolor.
Using this below, the color does not persist when I open the userform the next time.
Using this below, the color does not persist when I open the userform the next time.
VBA Code:
If OptionButton2.Value = True Then
OptionButton2.ForeColor = &H80FF&
End If