My Problem
- I don't know any VBA
- Need to generate a string of 12 chars (ALPHA + numbers , 0-9 , A-Z) IN VBA...
Sample output :
"ADF3V3224K1WQ"
(12 characters long , Higher caps Alphabetical letters , and Numeric values aswell).
Story
I'm having a hard time figuring out how to create a string generator (didn't say it has to be random, but it 100% has to be unique, meaning it has to check for duplications or store existing values), I have no experience with VBA. I already found a similar post here, but it is different then mine, as it does not specifically ask for the string to be 100% unique. (I don't need a very low chance, I need 100% across the board).
Syntax-wise I'm pretty confused, I managed to find where the code behind events are, ie Button presses, so I know where I need to write it, but I have no idea how to check for duplications. (even relying on a time seed that can ensure it will be 100% unique is great).
Link to the similar post: MS Access Visual Basic - generate random string in text field