+ Reply to Thread
Results 1 to 3 of 3

How can I make a header in Excel appear on the first page only?

  1. #1
    Excel headers
    Guest

    How can I make a header in Excel appear on the first page only?

    I know how to put a header on an excel spreadsheet but is there a way to make
    it appear on the first page only?

  2. #2
    Dave Peterson
    Guest

    Re: How can I make a header in Excel appear on the first page only?

    Take a look at J.E. McGimpsey's site:
    http://www.mcgimpsey.com/excel/subs/firstfooter.html

    Excel headers wrote:
    >
    > I know how to put a header on an excel spreadsheet but is there a way to make
    > it appear on the first page only?


    --

    Dave Peterson

  3. #3
    Gord Dibben
    Guest

    Re: How can I make a header in Excel appear on the first page only?

    Code from Ron de Bruin's site on Print Tips.

    http://www.rondebruin.nl/print.htm

    Sub Test()
    Dim TotPages As Long
    TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
    With ActiveSheet.PageSetup
    .RightHeader = "Your Header info"
    ActiveSheet.PrintOut From:=1, To:=1
    .RightHeader = ""
    ActiveSheet.PrintOut From:=2, To:=TotPages
    End With
    End Sub


    Gord Dibben Excel MVP

    On Wed, 27 Apr 2005 14:51:19 -0700, "Excel headers" <Excel
    [email protected]> wrote:

    >I know how to put a header on an excel spreadsheet but is there a way to make
    >it appear on the first page only?



+ 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