I'm working on a userform that creates option buttons from a range.
Now I would like to set a variable, base on the caption, when clicking a option button.
I tried many things, but noting seems to work for me.
Can anyone help me please?
My code for creating the option buttons: