+ Reply to Thread
Results 1 to 5 of 5

Find Print Range and Print invoices from 250 tabs in Excel

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2007
    Posts
    2

    Find Print Range and Print invoices from 250 tabs in Excel

    I have a pretty large spreadsheet set up that invoices our clients. A few tabs in the front allow us to globally invoice if we did certain services for all clients and then we can also go into each tab and invoice each client for specific services performed on their property. Some invoices are two pages long and other may be up to seven pages long and anywhere in between... So that's the first issue, how do you find how many pages to print and then set the print range for each invoice.

    The second issue centers around being able to print all the invoices at one time.

    The spreadsheet is set up in this manner: A recap sheet we print to check off that each invoice was printed; an IIF statement to get the Excel info into QuickBooks; a template to set up each invoice's information with dates, dates services were performed,etc.; then there are five Global billing tabs where I can invoice all accounts globally or by their type of account (Saturday or Sunday open, 24/7 etc.); then we get into the tabs for each account. Each account has its own tab with an invoice loaded inside where we can itemize the services they received. Inside all these individual account tabs we have set up 'Zone' tabs where we can invoice all the clients we set up within a zone. There are about twenty of these tabs. Then at the end I have a few more tabs that aren't used any longer, there are about ten tabs there...

    Is there a way I can hit Print and get all of my invoices to print out at one time versus having to go into each and every tab, set the print range, and then hit Print for all 250ish invoices?

    This is the biggest complaint I have right now about the invoicing program I have set up... any help is appreciated, thanks!

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Find Print Range and Print invoices from 250 tabs in Excel

    Just briefly. Use Record Macro (on the view tab) to see what Excel is doing when you print.

    Then use
    Please Login or Register  to view this content.
    Got to go.!


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Find Print Range and Print invoices from 250 tabs in Excel

    Here's a BeforePrint event that you could adapt with tonys modification

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Registered User
    Join Date
    02-24-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Find Print Range and Print invoices from 250 tabs in Excel

    Thanks for the tips. I'm not very good at macros but I did get one invoice to print using the Record Macro. I'm not yet sure how to have the macro find the print range and to move on to the next invoice.

    Do I copy and paste your codes into the macro I created when I do a View Macro and see what I recorded? I'm not sure where your code goes...at the top of the macro or at the bottom?

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Find Print Range and Print invoices from 250 tabs in Excel

    Hi Ace(referring to the holes in one - no offense intended),

    You put the altered code in the ThisWorkbook module of the workbook with all the tabs. The code is set for columns A to G - I'm sure that that doesn't comply with your needs and you might want to change the orientation to portrait - I'd need more information if you wanted me to do it for you, a sample workbook would be best - also there are 5 header rows allowed in the code sample above etc.etc.

+ 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] Need ‘Set Print Area’ Code for Dynamic Print Range based on Conditions
    By dosbirn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2013, 12:13 PM
  2. VBA to set print range, open box asking for print qty, print, then redefine print area
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2012, 06:43 PM
  3. print color logo in invoices
    By coastalchic in forum Excel General
    Replies: 3
    Last Post: 01-10-2007, 10:19 PM
  4. How to batch create / generate and print invoices from Excel data?
    By helenerz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2005, 10:05 PM
  5. [SOLVED] set the print area print multiple tabs
    By veng in forum Excel General
    Replies: 5
    Last Post: 02-12-2005, 03:08 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