I have a line of code that displays the selections the user makes in a combobox to a textbox. It separates each selection with a comma.
Here's the code:
The result will display as:
I would like to have a new line instead of the comma so the result would look like this:
So I tried this code:
It works except it's putting a square shape in front of the last item in the list.
Any suggestions?
Thanks!
Here's the code:
Code:
ActiveDocument.FormFields("Text1").Result = temp & ", " & ComboBox1.Value
The result will display as:
Difference in Conditions, Flood and Earthquake Only, Flood Only
I would like to have a new line instead of the comma so the result would look like this:
Difference in Conditions
Flood and Earthquake Only
Flood Only
So I tried this code:
Code:
ActiveDocument.FormFields("Text1").Result = temp & vbNewLine & ComboBox1.Value
It works except it's putting a square shape in front of the last item in the list.
Any suggestions?
Thanks!