It's a mismatch because OptionButton
is not ComboBox
. Try to change it into ByRef c As OptionButton
.
You can figure that out by replacing ByRef c As ComboBox
with c As Variant
, then set a breakpoint on the first line and check on the watch window what is being passed. This usually helps understand what's going on when the object passed is not the expected type.