+ Reply to Thread
Results 1 to 7 of 7

add sequential numbering

  1. #1
    Registered User
    Join Date
    10-06-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    11

    add sequential numbering

    OK, found a partial answer. I'm trying to print pallet placards where there might be 10 pallets in a shipment, so when the command button is clicked, it prints 10 copies of the placard, I can do that with the partial answer I found:

    .PrintOut Copies:=Range("A2").Value

    TextBox1 allows the user to input the total number of pallets on the shipment (i.e. 3), this populates cell E5 on the placard with "3".
    C5 is the tricky one. If Cell E5 is 3, then the first printout needs to have "1" in C5, "2" in the second printout, etc.
    This way, the placards read 1 of 3, 2 of 3 and 3 of 3.

    There's an identifier in B2 that's just a random Wingding font and a delivery number, those will remain the same throughout the print.
    If I can figure it out, I'll attach a sample.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: add sequential numbering

    see big yellow banner at the head of page

  3. #3
    Registered User
    Join Date
    10-06-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    11

    Re: add sequential numbering

    Well, when in doubt look for the obvious....hopefully that worked....
    Attached Files Attached Files

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: add sequential numbering

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-06-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    11

    Re: add sequential numbering

    That was fantastic! Thank you so much. Perhaps you can assist with one more issue? In order to create a unique identifier for the pallet placards, I need the form to pick a random cell from a range (sheet2, cells A1-A63), place that in B2 on sheet 1. That cell is formatted as Wingding, so it displays a picture which is easier to pair up with other placards from the same sequence. The problem I'm having is that it prints a different random cell on each of the placard sheets (i.e. 1 of 2 has a picture of scissors, 2 of 2 has a diamond). How do I get it to pick something to place there and not change that selection until the total number of pallets changes in the userform?

  6. #6
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,302

    Re: add sequential numbering

    Remove formula from cell B2 Sheet1 and paste in new code to CommandButton1 on UserForm

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-06-2016
    Location
    Atlanta
    MS-Off Ver
    2013
    Posts
    11

    Re: add sequential numbering

    Saved again, and got a brief lesson in Int / Rnd while I was at it!
    Thanks again Torachan

+ 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] Sequential Numbering
    By Filtec in forum Excel General
    Replies: 7
    Last Post: 04-15-2013, 04:01 AM
  2. Sequential numbering........................
    By N80RUL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2013, 10:58 PM
  3. Sequential numbering
    By taylorackley in forum Excel General
    Replies: 2
    Last Post: 08-26-2010, 02:19 PM
  4. Sequential numbering
    By mojura in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2009, 01:52 PM
  5. Sequential numbering
    By antony moseley in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-08-2009, 09:49 AM
  6. Sequential Numbering
    By justin68 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2007, 02:17 AM
  7. [SOLVED] Sequential Numbering
    By Tom in forum Excel General
    Replies: 4
    Last Post: 08-21-2006, 05:25 PM
  8. Sequential numbering
    By REELAXER in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 12:05 PM

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