I have very little vba experience or coding background, but I'm starting to teach myself. What I'm attempting to write and hopefully implement using MS Excel or Access is a coding program that takes a part number (INPUT PART#) and based on a set of criteria creates a unique item number as shown below. I've seen something similar done in PHP, but I do not know how to write PHP. Based on the Input part number the coding script would need to be dynamic enough to identify the alpha-numeric sequence and then re-format to the corresponding Unique # layout. I just need a sample code to get me started.
Any help would be greatly appreciated. Thank you in advance!
INPUT PART# *data in input file
GDA-500MA (1)
GDA-6.3A (2)
GDA-630mA (3)
GLR-12 (4)
GLR-3 (5)
GMA-1.25-R(6)
GMA-100-R (7)
UNIQUE PART# *converted format GMC(X)MA (1) GDA(X)A (2) GMC(X)MA (3) GLR (4) GLR (5) GMA(x)R (6) GMA(x)R (7)