Automatically generate alphanumeric user id when userform open in excel

avijitsarkar

New Member
Joined
Mar 1, 2018
Messages
8
hii friends, I'm new in excel vba,i just want to make a student database in excel userform, and there is a column student id, which is the alphanumeric serial like "ICE/ANG/1001".every time when i open the userform to enter a new student database the id text box goes to auto fillup or generate with last alphanumeric id like " ICE/ANG/1002" and "ICE/ANG/1003" and "ICE/ANG/1004" to be continue.
please help me .
sorry for bad english.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I want to help you but I have asked several times.
Where will we find:

ICE/ANG/1002


You want first time
ICE/ANG/1002

Next time

ICE/ANG/1003

Next time
ICE/ANG/1004


But we need to know where is this value being entered on the sheet so we know how to do this.

Where will we find these numbers on your sheet?

<strike>
</strike>
 
Upvote 0
Cross posed https://www.excelforum.com/excel-pr...te-increment-alphanumeric-id-in-userform.html

Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
the first record of student manually to be enter in the worksheet. and the next time it will be automatically show in the userform textbox
and here the first column "A" is the "ID" column.
IDNAmeGuardianGUARDIAN
Occupation
contactvillage
ICE/ANG/1002AvijitAmalBuisness9999999999

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,409
Messages
6,124,737
Members
449,185
Latest member
hopkinsr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top