Userforms and radio button
I tried to load data to an item using:
I get an error message: wrong number of arguments or invalid property assignment. This assignment seems correct according to the help documentation. Any ideas?
Re: Userforms and radio button
The radio button group item for the user forms doesn't allow any arguments during add. So you have to add a new radio button and assign it to a variable and change the properties of that variable.
<font class="small">Code:</font><hr /><pre>
for(var i = 0; i < 10; i++)
var item = UserForms.frmName.grpRadioButtons.Properties.Items .Add();
item.Caption = "Item" + i;