A
Atishoo
I am using a user form to enter data on a sheet this includes a series of 4
combo boxes, a cell on the worksheet combines the values of all these
comboboxes into a string of 4 text values separated by comma and a space: eg
meds, visit, blood, home (there may sometimes only be two or three such
values)
When using the user form to edit this entr how do I get it to reverse the
process:
UserForm1.ComboBox2.Value = ActiveCell.Offset(0, 4).Value
will return the entire string! What I need is:
UserForm1.ComboBox2.Value = ActiveCell.Offset(0, 4).{first item of text}
UserForm1.ComboBox6.Value = ActiveCell.Offset(0, 4).{second item of text}
UserForm1.ComboBox7.Value = ActiveCell.Offset(0, 4).{third item of text}
UserForm1.ComboBox10.Value = ActiveCell.Offset(0, 4).{fourth itme of text}
combo boxes, a cell on the worksheet combines the values of all these
comboboxes into a string of 4 text values separated by comma and a space: eg
meds, visit, blood, home (there may sometimes only be two or three such
values)
When using the user form to edit this entr how do I get it to reverse the
process:
UserForm1.ComboBox2.Value = ActiveCell.Offset(0, 4).Value
will return the entire string! What I need is:
UserForm1.ComboBox2.Value = ActiveCell.Offset(0, 4).{first item of text}
UserForm1.ComboBox6.Value = ActiveCell.Offset(0, 4).{second item of text}
UserForm1.ComboBox7.Value = ActiveCell.Offset(0, 4).{third item of text}
UserForm1.ComboBox10.Value = ActiveCell.Offset(0, 4).{fourth itme of text}