InterserveMan16
New Member
- Joined
- Aug 16, 2016
- Messages
- 4
I have a requirement that involves a list of Personnel numbers copied into a spreadsheet that need to be transposed. They must be separated by a comma and concatenated into one cell so that they can be copied and pasted into a cell in a database. Unfortunately, this list could be just a handful of Personnel numbers, or hundreds. Though this can be achieved with “Transpose” and “Concatenate”, the users are limited in their use of Excel.</SPAN>
</SPAN>
I have searched the board threads for help and am aware of the concatenate limit in VBA, and though I can stitch code together in a clunky fashion I would really appreciate some helpful direction, particularly with the syntax.</SPAN>
</SPAN>
This is what I am trying to achieve:
</SPAN></SPAN>
Personnel number
P0000123 P0000123, P0000124, P0000125, P0000126, P0000127</SPAN></SPAN>
P0000124</SPAN></SPAN>
P0000125</SPAN></SPAN>
P0000126</SPAN></SPAN>
P0000127</SPAN></SPAN>
</SPAN></SPAN>
</SPAN>
I have searched the board threads for help and am aware of the concatenate limit in VBA, and though I can stitch code together in a clunky fashion I would really appreciate some helpful direction, particularly with the syntax.</SPAN>
</SPAN>
This is what I am trying to achieve:
</SPAN></SPAN>
Personnel number
P0000123 P0000123, P0000124, P0000125, P0000126, P0000127</SPAN></SPAN>
P0000124</SPAN></SPAN>
P0000125</SPAN></SPAN>
P0000126</SPAN></SPAN>
P0000127</SPAN></SPAN>
</SPAN></SPAN>