+ Reply to Thread
Results 1 to 3 of 3

Printing macro

  1. #1
    Registered User
    Join Date
    12-11-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Printing macro

    Hi,

    In my job I quite often need to print out excel workbooks containing numerous worksheets. They are rarely formatted print ready and so I have to go into each tab and do print preview, page breaks, make sure all text within the worksheet is selected within the print area etc.

    Is there a macro that could do this for me for the whole workbook?

    Thanks for any responses.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Printing macro

    Are all worksheets formatted the same, use the same page breaks, etc?

    Yes, you can loop through the sheets and apply any formatting or page breaks you want.

    Since you don't provide enough details about the workbook/sheets, you can start by recording a macro to apply the formatting and setting the pagebreaks, etc. to a single worksheet then post the code and workbook for further help.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    12-11-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Printing macro

    Thanks for replying.

    Each worksheet would contain different amounts of data, some may fit onto one page where as the next may contain a huge list that would fill 100 pages.

    I guess I'm looking for something that would do the following;

    Go to first worksheet
    Select a cell range that covers all cells that contain values
    Set this selection as the print area
    Then move onto the next worksheet

+ 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