+ Reply to Thread
Results 1 to 16 of 16

automatically generate / increment alphanumeric id in userform

  1. #1
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    automatically generate / increment alphanumeric id in userform

    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.
    that mean The last id number from automatically generate from the worksheet into the userform
    please help me .
    sorry for bad english.


    this is my crospost link "www.mrexcel.com/forum/excel-questions/1045785-automatically-generate-alphanumeric-user-id-when-userform-open-excel.html"
    Last edited by avijitsarkar; 03-09-2018 at 07:46 AM.

  2. #2
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    Re: automatically generate / increment alphanumeric id in userform

    please please solve this, i need it urgent

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: automatically generate / increment alphanumeric id in userform

    Just use Access, it does it automatically

  4. #4
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    Re: automatically generate / increment alphanumeric id in userform

    but i need in excel.
    any one have solution plzz???

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: automatically generate / increment alphanumeric id in userform

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  6. #6
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    Re: automatically generate / increment alphanumeric id in userform

    friends.. this is a sample file that i want full fill..
    Attached Files Attached Files

  7. #7
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: automatically generate / increment alphanumeric id in userform

    Go to the site where you also posted this question, copy address from browser window.
    Go to your first post and select Edit post. Paste address at the end of your first post. Save changes.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  8. #8
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    Re: automatically generate / increment alphanumeric id in userform

    Last edited by 6StringJazzer; 03-09-2018 at 08:51 AM. Reason: activated link

  9. #9
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: automatically generate / increment alphanumeric id in userform

    Something to play with.
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    Re: automatically generate / increment alphanumeric id in userform

    thank u for reply, but where i pest the code? on textbox, userform activate or module..

  11. #11
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: automatically generate / increment alphanumeric id in userform

    Have put the code in your example file.
    As soon as you start to type a name the ID appears in Texrbox19.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    Re: automatically generate / increment alphanumeric id in userform

    thank yow, i think it will work for me, i tell u after checking the file
    thankz again.

  13. #13
    Registered User
    Join Date
    03-05-2018
    Location
    India
    MS-Off Ver
    2007, 2013
    Posts
    43

    Re: automatically generate / increment alphanumeric id in userform

    thank its worked, and i use the code in userform activate.
    thanks again

  14. #14
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: automatically generate / increment alphanumeric id in userform

    Glad to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  15. #15
    Registered User
    Join Date
    03-19-2018
    Location
    qatar
    MS-Off Ver
    2016
    Posts
    1

    Re: automatically generate / increment alphanumeric id in userform

    Hello everyone just signed up here.
    Need help in vba coding please.

    i have 5 different Userform (i.e. Daily, weekly, monthly, 3monthly, 6 monthly schedule)
    i have also separate data base for asset names, assets description, asset location, schedule of cleaning & cycles (daily, weekly, monthly...) records starts from A2,b2, c2 ....)
    i need to filtered the database as per the schedule of cleaning (per day) and print each row in the userform as per their cycle.

    attached data base for clarity.

    appreciate any help, please

    Lovelyangel

  16. #16
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: automatically generate / increment alphanumeric id in userform

    Good morning lovelyangel2

    Welcome to the forum.

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-24-2018, 10:56 AM
  2. [SOLVED] Increment Alphanumeric List
    By frekels21 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-27-2017, 10:00 PM
  3. insert row and increment alphanumeric unique ID
    By rickmeister in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2016, 08:32 PM
  4. [SOLVED] Can't increment Alphanumeric string by one
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2016, 12:08 AM
  5. Replies: 7
    Last Post: 04-21-2015, 04:21 AM
  6. Replicate and increment alphanumeric keywords?
    By toolsavvy in forum Excel General
    Replies: 7
    Last Post: 12-16-2007, 03:02 AM
  7. Replies: 1
    Last Post: 07-11-2005, 07:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1