+ Reply to Thread
Results 1 to 3 of 3

Setting Different Print Titles For Different Pages

  1. #1
    Registered User
    Join Date
    05-25-2012
    Location
    Chennai,TamilNadu,India
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    61

    Setting Different Print Titles For Different Pages

    Hi Folks,

    I did a lot of Google research to find the answer for my question, but could not find it.

    My requirement is fairly simple. Is it possible to have two different print titles on the same worksheet?

    I want to pick one row title if the number of pages to be printed is less than or equal to 2. If the pages exceeds 2, then for the first two pages I want to have one print title and for the remaining ones i want to have a different print title.

    It would be of great help if you could help me in solving this.

    Thanks

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Setting Different Print Titles For Different Pages

    Hi,

    Set a cell variable that can determine how many pages you're printing, perhaps use the number of rows in the print area, and use that variable in a formula that chooses the print title. I presume by print title you are simply meaning a normal row and not the 'rows to repeat' un the page set up area.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-25-2012
    Location
    Chennai,TamilNadu,India
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    61

    Re: Setting Different Print Titles For Different Pages

    Hi Richard,

    Thanks for the prompt reply.

    That's a good idea.

    I can use the line Activesheet.HPageBreaks.Count to find how many pages are going to be printed.

    What I mentioned through the word "Print Title" actually the rows to repeat.

    If my coding line gives the answer as 0 or 1, then I would need the Rows (1:13) should be at the rows to repeat.

    If my coding line gives answer as 2 or more than that, then in that case I want to have Rows(1:13) to be repeated for first two pages and from the third page onwards it should take Rows(1:6) as the rows to repeat.

+ 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. Horizontal Titles on Print pages
    By mbruce3 in forum Excel General
    Replies: 1
    Last Post: 09-20-2011, 06:07 PM
  2. Replies: 0
    Last Post: 02-16-2011, 03:57 PM
  3. Replies: 4
    Last Post: 02-17-2006, 08:36 AM
  4. print different row titles in one sheet w/ many pages
    By Carman Law in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-24-2005, 07:38 AM
  5. How do you set titles to print on multiple pages?
    By Enoira in forum Excel General
    Replies: 1
    Last Post: 05-02-2005, 07:06 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