+ Reply to Thread
Results 1 to 2 of 2

Page headers in grouped sheets

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    1

    Page headers in grouped sheets

    Hello

    I have a work book with lots of sheets in it. One of the tabs (which prints on several pages) has a header set up using the 'Different header on first page option'. This works fine when I just print this one sheet.

    However, when I group sheets together and export them into a pdf, excel drops the different first header form this sheet (persumably because, as they are grouped, it no longer see it as a first page). Is there anyway around this?

    Thanks
    Adam

  2. #2
    Forum Contributor
    Join Date
    05-08-2013
    Location
    California
    MS-Off Ver
    Excel 2013
    Posts
    102

    Re: Page headers in grouped sheets

    HoThereSmallFry,

    Sometimes when you cannot climb over a mountain, you go around it to get to the other side. As such, this will help you get around your question (and should get you the same result). Paste the code below into an empty module (of your spreadsheet) in your Visual Basic Editor, and run it. It will ask you to select a directory (i.e., folder) into which you want to save your PDF files. Once you select the directory, it automatically prints each tab into its own PDF file (no manual intervention required!). Each PDF file is named according to the tab (so you may wish to name each of your tabs in your workbook something different for the purpose of using this VBA procedure). Once you have your individual PDF files (which will avoid the header problem you described), you can use Adobe's Combine Files into a Single PDF feature to build one PDF from all the individual PDF files (if such assemblage is what you are looking for) and have the PDF files appear in the order that you want. In fact, with a judicious naming of the tabs in your spreadsheet (e.g., Sheet001, Sheet 002, Sheet003, etc.), the PDF files will line up right in this order.

    Please Login or Register  to view this content.
    Hoe this helps.
    ______________________
    [1] If this reply was helpful, click the star to the left.
    [2] If this reply answered your question, mark this thread as [SOLVED].
    Last edited by Dimitrov; 09-20-2013 at 02:01 AM.

+ 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. Macro on multiple sheets - grouped sheets
    By stan1472 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2012, 12:13 AM
  2. Page number multiple sheets without changing headers?
    By hamsuplo in forum Excel General
    Replies: 1
    Last Post: 07-14-2010, 03:44 PM
  3. Excel 2007 : problems with grouped sheets
    By Loisw in forum Excel General
    Replies: 1
    Last Post: 02-18-2010, 05:12 PM
  4. [SOLVED]Wondering how to keep headers repeating from page to page.
    By photo_angel2004 in forum Excel General
    Replies: 5
    Last Post: 11-04-2008, 08:02 PM
  5. [SOLVED] Grouped Sheets and Formating
    By Pank Mehta in forum Excel General
    Replies: 3
    Last Post: 03-23-2005, 10: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