markster
Well-known Member
- Joined
- May 23, 2002
- Messages
- 579
- Office Version
- 365
- Platform
- Windows
- MacOS
Hello
I just need some macro code to reconfigure reference numbers so I can sort in a pivot table. I have uploaded an image whereby you will see that the reference number in the current format is in COLUMN K from Row 7 downwards. I need it to reconfigure and populate the new format in COLUMN S from Row 7 downwards. If the reference number begins with CL I need it to extracts G number the S number and the J number and add the CL number to the end of the reference number (as shown in the image). If the number begins with TH it just extracts the numbers G number the S number and the J number. I think it probably sounds more complicated than it is but if you look at the image I think it is pretty straightforward for someone who knows how to code VBA.
Thanks in advance for any help.
Mark
I just need some macro code to reconfigure reference numbers so I can sort in a pivot table. I have uploaded an image whereby you will see that the reference number in the current format is in COLUMN K from Row 7 downwards. I need it to reconfigure and populate the new format in COLUMN S from Row 7 downwards. If the reference number begins with CL I need it to extracts G number the S number and the J number and add the CL number to the end of the reference number (as shown in the image). If the number begins with TH it just extracts the numbers G number the S number and the J number. I think it probably sounds more complicated than it is but if you look at the image I think it is pretty straightforward for someone who knows how to code VBA.
Thanks in advance for any help.
Mark