That is AMAZING! Yet again, another powerful piece of Excel
functionalilty that I simply wasn't aware of. I understand all of the
UDF except the very last line (Title = Mid(myStr, 2)). I understood
how the UDF was building the concatenation via the loop, and I
expected that result to be Title. How does this last line of code
after the loop fit in?
Honestly, Claus, my mind is a blur with all the possibilities now!
Things I wondered how to do before. I know I still have a LOT to
learn, but this is an exceptional opening to something new for me.
Thank you again for your help!
Best regards,
Frank
On Sat, 27 Jun 2015 21:19:50 +0200, Claus Busch
wrote:
Hi Frank,
Am Sat, 27 Jun 2015 14:54:47 -0400 schrieb :
Order Category Number
1 Catalog# 5100
2 INV 87500
3 CMPL 87000
4 Notes Red (bush)
Title: 5100-87500-87000-Red (bush)
But user Sue has her four catergores order defined as
INV-CMPL-Catago#-Notes, as shown below.
Order Category Number
3 Catalog# 5100
1 INV 87500
2 CMPL 87000
4 Notes Red (bush)
Title: 87500-87000-5100-Red (bush)
look he
https://onedrive.live.com/redir?resi...=folder%2cxlsm
for "Concatenate" and download the workbook because macros are disabled
in OneDrive.
I wrote a UDF for your problem.
Regards
Claus B.