So it is just
myVar = If Checkbox1.Value Then Range"A1").Value & ","
myVar = myVar & If Checkbox2.Value Then Range"B1").Value & ","
myVar = myVar & If Checkbox3.Value Then Range"C1").Value & ","
'etc.
myVar = Left$(myVar,Len$(myVar)-1)
--
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Shane" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I would like to add to vba code so I can string together cell
> selections chosen using checkboxes from a listbox in a userform
>
|