AlexJones1
New Member
- Joined
- Aug 29, 2023
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
Hi, I have managed to code my spreadsheet to allow multiple selections (with no duplicates) from different data lists using the data validation first and then writing the following VBA:
The big Target.Address bit in the middle just covers the cells that I want it to work on (it get it might be a bit messy but it's working). However, I am struggling to expand this so it can do it on another cell but instead of inserting a '|' I need it to insert a comma, I have tried repeating the code with the specific cell references with a new private sub but I was getting the ambiguous name error. The only bit I need to change/add in the above coding is different cell references and changing the pipe to a comma.
Thanks,
Alex
The big Target.Address bit in the middle just covers the cells that I want it to work on (it get it might be a bit messy but it's working). However, I am struggling to expand this so it can do it on another cell but instead of inserting a '|' I need it to insert a comma, I have tried repeating the code with the specific cell references with a new private sub but I was getting the ambiguous name error. The only bit I need to change/add in the above coding is different cell references and changing the pipe to a comma.
Thanks,
Alex