Forum Discussion
Piplinson
Aug 21, 2020Copper Contributor
VBA Query
Hi all
I have some VBA code that allows me to select multiple items in a drop down list and populate the data in a single cell. The code works in multiple columns. I have attached a screenshot.
What I am trying to do is add a Char(10) 'within cell' line break - so that each selection goes to a new line within the same cell (rather than append). No matter what I try, i can't seem to get it to work. Any ideas what I am missing?
Pip
2 Replies
- PeterBartholomew1Silver Contributor
Interesting code, but I couldn't find where the line-feed is being inserted.
All I found was
" | "
but that may be my failing.
One basic check on the worksheet is has your cell alignment been set to
'Wrap Text"?
- Riny_van_EekelenPlatinum Contributor
Piplinson Perhaps this link will help