+ Reply to Thread
Results 1 to 2 of 2

auto generation order/serial number

  1. #1
    Registered User
    Join Date
    11-21-2017
    Location
    LEBANON
    MS-Off Ver
    2016
    Posts
    4

    auto generation order/serial number

    Hello everyone,*

    i'm writing to you because i'm a bit stuck.*

    I'm a beginner user of Excel VBA..

    I'm trying to create a Userform where I can add new entry for my database.*
    The userform is working but i'd like to add a Line code to generate automatically a Serial/Order Number.*

    I have already found some solutions, I tried to do it on my own but it doesn't work on my UserForm.
    Anyone can check my File and tell me where is the problem?

    Problem : I want to generate a order/serial number each time I enter a new entry, but the serial/order number stay "0001"

    I attached the file in this Post
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: auto generation order/serial number

    Welcome to the forum

    Your UserForm is on a different sheet so tell VBA where to look for the value like this:
    Please Login or Register  to view this content.
    If this works for you please mark thread as SOLVED (see thread tools at top of thread)
    Last edited by kev_; 11-23-2017 at 07:07 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

+ 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. Auto Serial Number Using VBA
    By LoveCandle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-21-2022, 09:24 PM
  2. Auto Serial Number
    By sms1432 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2017, 02:52 AM
  3. Auto Serial number
    By surya2384 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-16-2016, 11:53 AM
  4. Auto Number Generation
    By abdul43 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2014, 02:21 PM
  5. Auto Serial Number
    By MdYas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-23-2014, 08:19 AM
  6. Auto invoice number generation?
    By alfgrey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 08:38 PM
  7. Generation of Serial number of enquiry on internet site
    By Anil Gokhale in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2010, 03:55 AM

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