ShazzaBoom
New Member
- Joined
- Dec 1, 2015
- Messages
- 6
Hi
I am a newbie to <acronym title="visual basic for applications">VBA</acronym> coding in Excel and this one is just too complex for me to get my head around with userforms and combining checkboxes etc, so reaching out to this great forum I have had so much success with
When you click on cells in column B (not the header row though) I would like to have a popup window appear with Checkboxes where you can select your favourite colours (from the SourceColourList column) by placing a check next to each and then once you have clicked OK it pastes those values to the cell you clicked on in column B.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Colours[/TD]
[TD][/TD]
[TD]SourceColourList[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD][/TD]
[TD][/TD]
[TD]Red[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD][/TD]
[TD][/TD]
[TD]Green[/TD]
[/TR]
[TR]
[TD]Sue[/TD]
[TD][/TD]
[TD][/TD]
[TD]Blue[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[TD][/TD]
[TD][/TD]
[TD]White[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Pink[/TD]
[/TR]
</tbody>[/TABLE]
Resulting in a sheet that would look like this ...
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Colours[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Red, White, Blue[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]Pink[/TD]
[/TR]
[TR]
[TD]Sue[/TD]
[TD]Green, Blue, White[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[TD]Red, Green[/TD]
[/TR]
</tbody>[/TABLE]
I would like assistance on the process to create the UserForm and then the VBA code to accompany it to achieve the multiple selects and pasting back into the column.
Thanks in advance for any assistance you can provide.
Regards
Shazzaboom
I am a newbie to <acronym title="visual basic for applications">VBA</acronym> coding in Excel and this one is just too complex for me to get my head around with userforms and combining checkboxes etc, so reaching out to this great forum I have had so much success with
When you click on cells in column B (not the header row though) I would like to have a popup window appear with Checkboxes where you can select your favourite colours (from the SourceColourList column) by placing a check next to each and then once you have clicked OK it pastes those values to the cell you clicked on in column B.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Colours[/TD]
[TD][/TD]
[TD]SourceColourList[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD][/TD]
[TD][/TD]
[TD]Red[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD][/TD]
[TD][/TD]
[TD]Green[/TD]
[/TR]
[TR]
[TD]Sue[/TD]
[TD][/TD]
[TD][/TD]
[TD]Blue[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[TD][/TD]
[TD][/TD]
[TD]White[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Pink[/TD]
[/TR]
</tbody>[/TABLE]
Resulting in a sheet that would look like this ...
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Colours[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Red, White, Blue[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]Pink[/TD]
[/TR]
[TR]
[TD]Sue[/TD]
[TD]Green, Blue, White[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[TD]Red, Green[/TD]
[/TR]
</tbody>[/TABLE]
I would like assistance on the process to create the UserForm and then the VBA code to accompany it to achieve the multiple selects and pasting back into the column.
Thanks in advance for any assistance you can provide.
Regards
Shazzaboom