I've been trying to figure out how to make a 4-digit alphanumeric code in excel to associate with certain promo/discount codes in our system. I'm looking for the code to be a code string, not random generators, because we can only use the code once, so I don't want any duplicates. The order I was looking to have is: a0a0, a0a1, a0a2, ..., a0a9, a1a0, a1a1, ..., a9a9, a0b0, a0b1, ... So the first/third digits are letters and the second/fourth digits are numbers.
The second variation I was looking to make was the same as above but have any combination of letters and numbers (as long as their is at least 1 letter, so it's not a 4 number code).
I'm assuming the best way to do this is with the VBA, but I'm not as comfortable with the VBA portion of Excel as I am with other areas.
Thanks for your help!
Bookmarks