+ Reply to Thread
Results 1 to 2 of 2

Auto Sequential number generation excel userform textbox

  1. #1
    Registered User
    Join Date
    11-12-2013
    Location
    lahore pakistan
    MS-Off Ver
    Excel 2007
    Posts
    44

    Auto Sequential number generation excel userform textbox

    Hi Dear,

    I have one book with userform to enter data. Textbox1 is used for ID for each form. This form add data to another book called Suppliers.

    I want vba to automatically generate ID number in sequence for each set of data.

    please help.

    regards
    Rahat

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,916

    Re: Auto Sequential number generation excel userform textbox

    If you are entering these ID's in a column next to the one with the dates, then all you would need to do is if it is in Column A then just get the next value is MAX(Range("A:A")) + 1
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

+ 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. [SOLVED] Auto Generation of number in sequential manner in textbox
    By av123 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-28-2016, 03:37 AM
  2. [SOLVED] Auto generate ID number on Textbox userform
    By eddieboyph in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-29-2016, 11:29 PM
  3. Generate sequential letters and numbers populated on textbox (userform)
    By stewart1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-25-2015, 03:40 PM
  4. Auto Number Generation
    By abdul43 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2014, 02:21 PM
  5. Userform Textbox to store value in excel the number losing decimal
    By Jaco Smit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-26-2014, 07:42 AM
  6. Auto invoice number generation?
    By alfgrey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 08:38 PM
  7. [SOLVED] How do I Auto Number a field in Excel - sequential PO#
    By Melinda in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2005, 05:10 PM

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