+ Reply to Thread
Results 1 to 9 of 9

"Print all" macro for receipt generates new sheet for every reciept

  1. #1
    Registered User
    Join Date
    02-21-2019
    Location
    Philadelphia
    MS-Off Ver
    Office 2016
    Posts
    48

    "Print all" macro for receipt generates new sheet for every reciept

    I have a spreadsheet that generates receipts for an auction. In the receipts spreadsheet, there is a button to print the current receipt and print all receipts. When "all" is selected, for some reason it generates a new sheet for every paddle #'s receipt.

    Any idea how to correct this in the code?
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: "Print all" macro for receipt generates new sheet for every reciept

    .
    Trying to understand what your final goal is.

    Are you wanting to print the SILENT AUCTION sheet as a single document ?

  3. #3
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: "Print all" macro for receipt generates new sheet for every reciept

    Take care with pressing "Print All" button on worksheet as there is no preview or selection of what is printed. I inadvertently pressed yesterday and had to run to turn off the main printer...

  4. #4
    Registered User
    Join Date
    02-21-2019
    Location
    Philadelphia
    MS-Off Ver
    Office 2016
    Posts
    48

    Re: "Print all" macro for receipt generates new sheet for every reciept

    No, the RECEIPTS sheet shows the receipts the for each respective paddle # (guest). You can change the paddle number via the dropdown menu. The "Print All" is needed so that we can quickly print all the receipts at the conclusion of the auction. The SILENT AUCTION is mainly for data entry for the winning bid and winning paddle number.

    But for some reason, the PRINT ALL button creates a new sheet for every receipt, which is not needed. It does not do this when PRINT SINGLERECEIPT is selected, which only confuses me further.

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: "Print all" macro for receipt generates new sheet for every reciept

    .
    You can change the paddle number via the dropdown menu.
    The copy of the workbook you posted does not include a drop down .. unless I simply overlooked it.

    Re: the difference between the SINGLE RECEIPT and PRINT ALL selections .... I don't understand your confusion. ???? The macros are doing
    exactly what the title on the buttons indicate.

    Again, if you click the PRINT ALL button, what result are you expecting ?

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: "Print all" macro for receipt generates new sheet for every reciept

    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  7. #7
    Registered User
    Join Date
    02-21-2019
    Location
    Philadelphia
    MS-Off Ver
    Office 2016
    Posts
    48

    Re: "Print all" macro for receipt generates new sheet for every reciept

    It you press on B7 on the RECEIPTS sheet, there will be a dropdown button that will let you select any paddle #

    My issue is that the PRINT ALL option creates new sheets for every receipt. I do not want this; I merely want it to print out the receipts. The SINGLERECEIPT does not do this. It just prints out the selected paddle number's receipt. It does not create a new sheet in addition to printing.

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: "Print all" macro for receipt generates new sheet for every reciept

    Did you try the file I attached in your original post at: https://www.excelforum.com/excel-pro...readsheet.html

  9. #9
    Registered User
    Join Date
    02-21-2019
    Location
    Philadelphia
    MS-Off Ver
    Office 2016
    Posts
    48

    Re: "Print all" macro for receipt generates new sheet for every reciept

    Perfect!! Solved!!

+ 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] Prevent Duplicate Receipt Number in Three Column [ e.g. Column "A", "B", "C" ]
    By MrsCharmy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-31-2017, 08:40 AM
  2. If Sheet("Entry").range("P3") has not today date then run macro
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2016, 12:13 PM
  3. [SOLVED] Macro to print every sheet between "Start" and "End"
    By horsefish01 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-28-2016, 05:43 AM
  4. "Perfect" way to organize/create a receipt?
    By kunkka in forum Excel General
    Replies: 6
    Last Post: 10-09-2015, 06:50 PM
  5. VBA excel macro generates "automation error" randomly using Office 365
    By kolback in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2014, 06:28 AM
  6. [SOLVED] Macro generates the following error: "run-time error 424 object required"
    By Metrazal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-23-2014, 06:31 PM
  7. [SOLVED] Need Macro to compile data from "Weekly" sheets and sum up into "Monthly" summary sheet
    By mo4391 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2013, 07:25 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