Tried posting this in the VBA for Microsoft forum but no luck.
In an excel userform that i have a group of option buttons with the GroupName of "SelectOne".
It contains 4 optbuttons:
optNewContract
optRenewContract
optUpdatedContract
optReplaceVendor
I also have a txtbox..."txtReplacedVendor"
I want txtReplacedVendor to be only enabled when optReplaceVendor is selected. I have tried If Then statements but have not had luck. I have gotten it so that when
optReplaceVendor = true then the focus is set to txtReplacedVendor. The problem i am having is that the txtbox is still enabled when the other options are selected.
Thanks for any help.
In an excel userform that i have a group of option buttons with the GroupName of "SelectOne".
It contains 4 optbuttons:
optNewContract
optRenewContract
optUpdatedContract
optReplaceVendor
I also have a txtbox..."txtReplacedVendor"
I want txtReplacedVendor to be only enabled when optReplaceVendor is selected. I have tried If Then statements but have not had luck. I have gotten it so that when
optReplaceVendor = true then the focus is set to txtReplacedVendor. The problem i am having is that the txtbox is still enabled when the other options are selected.
Thanks for any help.