+ Reply to Thread
Results 1 to 3 of 3

Print Macro

  1. #1
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Question Print Macro

    Gday Guys,

    Im just looking for some help with building a print macro.

    I was wanting to create some logic behind the print so that the macro can determine the appropriate number of sheets to print to.

    The number of rows I am wanting to print varies quite a bit whereas the columns are always fixed - A inclusive to J inclusive (Columns A:J)

    I was wanting to do something along the lines of the following:

    *Count the total number of rows to be printed
    *from this number determine the appropriate number of sheets to print on such that the text is easily legible
    *Page breaking has to occur at certain Rows that have .Borders(xlEdgeBottom).Linestyle = xlContinuous (the last row of the page has a bottom border) and preferably at the manager lines (Please see the attached workbook)

    Has anyone got some code that could be helpful in helping me build this?

    Kind Regards
    Attached Files Attached Files
    Last edited by jordan2322; 09-27-2012 at 08:45 PM.

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

    Re: Print Macro

    Hi Jordan2322,

    Here's an old one of mine - you'll want to experiment with the orientation and the lines per page:

    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

  3. #3
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Re: Print Macro

    Thank you xladept,
    Please see:
    http://www.excelforum.com/excel-prog...ge-breaks.html
    for the next part of my problem!
    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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