The question is of reverse concatenation in Excel VBA.
I currently have this:
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]Joe, Jon[/TD]
[/TR]
[TR]
[TD]Joe, Pam, Carl[/TD]
[/TR]
[TR]
[TD]Joe, Jon, Jeremy[/TD]
[/TR]
</tbody>[/TABLE]
And need to reverse concatenate so I can then have each individual name in its own row and cell as follows:
[TABLE="class: cms_table, width: 150"]
<tbody>[TR]
[TD]Joe[/TD]
[/TR]
[TR]
[TD]Jon[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[/TR]
[TR]
[TD]Pam[/TD]
[/TR]
[TR]
[TD]Carl[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[/TR]
[TR]
[TD]Jon[/TD]
[/TR]
[TR]
[TD]Jeremy[/TD]
[/TR]
</tbody>[/TABLE]
I can then remove the duplicate names and re-concatenate to have the following:
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]Joe, Jon, Pam, Carl, Jeremy[/TD]
[/TR]
</tbody>[/TABLE]
Please note that the data is not static and so the number of individuals/rows will change.
I won't need any button or msgbox for this code but comments before each action would be great to help me understand what is going on within your coding.
Thank you!
I currently have this:
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]Joe, Jon[/TD]
[/TR]
[TR]
[TD]Joe, Pam, Carl[/TD]
[/TR]
[TR]
[TD]Joe, Jon, Jeremy[/TD]
[/TR]
</tbody>[/TABLE]
And need to reverse concatenate so I can then have each individual name in its own row and cell as follows:
[TABLE="class: cms_table, width: 150"]
<tbody>[TR]
[TD]Joe[/TD]
[/TR]
[TR]
[TD]Jon[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[/TR]
[TR]
[TD]Pam[/TD]
[/TR]
[TR]
[TD]Carl[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[/TR]
[TR]
[TD]Jon[/TD]
[/TR]
[TR]
[TD]Jeremy[/TD]
[/TR]
</tbody>[/TABLE]
I can then remove the duplicate names and re-concatenate to have the following:
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]Joe, Jon, Pam, Carl, Jeremy[/TD]
[/TR]
</tbody>[/TABLE]
Please note that the data is not static and so the number of individuals/rows will change.
I won't need any button or msgbox for this code but comments before each action would be great to help me understand what is going on within your coding.
Thank you!
Last edited: