Okay, thought it would be good to get back into playing with VB but hasn't it changed since I last had a go (VB4 - and I still have books!)
Anyway - I am looking for a bit of code that will randomly create a 5 character (A - Z) code and then assign it to a text box when someone clicks a button.
I can do it hardcoded (ie TextBox1.Text = "ABCDE") but not sure where to start with automating it!
Any pointers appreciated - my Google skills are failing me tonight
M.
Anyway - I am looking for a bit of code that will randomly create a 5 character (A - Z) code and then assign it to a text box when someone clicks a button.
I can do it hardcoded (ie TextBox1.Text = "ABCDE") but not sure where to start with automating it!
Any pointers appreciated - my Google skills are failing me tonight

M.
Last edited: