+ Reply to Thread
Results 1 to 3 of 3

Numbering based on user input

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Ontario
    MS-Off Ver
    Excel 2007
    Posts
    2

    Numbering based on user input

    Hi all, I'm new to programming for excel and have had some trouble figuring out where to start.

    What I am trying to do is have invoice numbers fill themselves in based on the user inputting the first invoice number.

    I have a table with store numbers listed vertically, then blank cells for invoice numbers, then 6 columns of items that each store can order. If the store has all 6 items blank I'd like to skip to the next row (or store) and continue until all 26 stores have been processed.

    I may have not explained it clearly but I have attached a sample worksheet showing the table to better explain.

    This is the code I have so far (not complete and doesn't work) and it gives me error Runtime Error '424': Object Required . I'm hoping someone can help me out with it or at least point me in the right direction of what I'm doing wrong.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Jack276; 08-23-2012 at 06:12 PM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: [OPEN] Numbering based on user input

    you can change so
    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Ontario
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: [OPEN] Numbering based on user input

    Thanks Patel, that helped me actually get rid of my errors and understand what I was doing wrong.

    I have completed my desired code and it does exactly what I want error free.

    Here is the code I came up with. Perhaps there's a more efficient way to accomplish this?
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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