Alexandra20
New Member
- Joined
- May 24, 2021
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
Hi guys!
I created a user form with various checkboxes. I need a code that will write all the selected checkboxes into one cell divided with comas.
For example: If a user checks the boxes "apple" and "pear" I want to write apple, pear to one cell. If the check only "apple" it should write apple without coma or if the user doesn't check anything, the cell should remain empty.
I tried using cycles, functions with conditions, etc. but none of them worked so far.
Any tips?
Thanks xx
I created a user form with various checkboxes. I need a code that will write all the selected checkboxes into one cell divided with comas.
For example: If a user checks the boxes "apple" and "pear" I want to write apple, pear to one cell. If the check only "apple" it should write apple without coma or if the user doesn't check anything, the cell should remain empty.
I tried using cycles, functions with conditions, etc. but none of them worked so far.
Any tips?
Thanks xx