+ Reply to Thread
Results 1 to 4 of 4

Print Worksheets function needed.

  1. #1
    Registered User
    Join Date
    05-23-2005
    Posts
    25

    Print Worksheets function needed.

    Hi,
    am creating a lumber list shpreadhseet for lumber estimating. Currently the worksheet is set up to make new sheets on button click...
    Now what i need is a function to print only the first page of every visable sheet. Regardless of the sheet name. But i have a great deal of formula calculations off to the side, which is why i only want to print the first page of every sheet.

    Anyone help?
    Thanks!

  2. #2
    Neil
    Guest

    RE: Print Worksheets function needed.

    Try setting a print area for each sheet that just containd the part you want
    printed then using a macro (or VBA) you could step through each sheet and
    execute a print command to get what you want.

    HTH

    Neil
    www.nwarwick.co.uk

    "foxgguy2005" wrote:

    >
    > Hi,
    > am creating a lumber list shpreadhseet for lumber estimating.
    > Currently the worksheet is set up to make new sheets on button
    > click...
    > Now what i need is a function to print only the first page of every
    > visable sheet. Regardless of the sheet name. But i have a great deal
    > of formula calculations off to the side, which is why i only want to
    > print the first page of every sheet.
    >
    > Anyone help?
    > Thanks!
    >
    >
    > --
    > foxgguy2005
    > ------------------------------------------------------------------------
    > foxgguy2005's Profile: http://www.excelforum.com/member.php...o&userid=23663
    > View this thread: http://www.excelforum.com/showthread...hreadid=374460
    >
    >


  3. #3
    Duke Carey
    Guest

    RE: Print Worksheets function needed.

    First, do as Neil suggested - seet a print range on each sheet

    Then, to print all the sheets, simply use File>Print>Entire Workbook

    "foxgguy2005" wrote:

    >
    > Hi,
    > am creating a lumber list shpreadhseet for lumber estimating.
    > Currently the worksheet is set up to make new sheets on button
    > click...
    > Now what i need is a function to print only the first page of every
    > visable sheet. Regardless of the sheet name. But i have a great deal
    > of formula calculations off to the side, which is why i only want to
    > print the first page of every sheet.
    >
    > Anyone help?
    > Thanks!
    >
    >
    > --
    > foxgguy2005
    > ------------------------------------------------------------------------
    > foxgguy2005's Profile: http://www.excelforum.com/member.php...o&userid=23663
    > View this thread: http://www.excelforum.com/showthread...hreadid=374460
    >
    >


  4. #4
    Forum Contributor
    Join Date
    11-09-2004
    Posts
    451
    Try this macro


    Sub Macro1()
    For Each w In Worksheets
    If w.Visible = True Then
    w.Select
    ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=1, Collate _
    :=True

    End If
    Next
    End Sub

+ 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