+ Reply to Thread
Results 1 to 2 of 2

Embedded button print macro

Hybrid View

  1. #1
    grantfeek
    Guest

    Embedded button print macro

    i'm trying to program a button to print selected worksheets from an excel file:

    Private Sub CommandButton1_Click()
    Range("Summary!, 'IRR Summary'!, 'Presentation Cash Flow'!, 'Rent Roll'!,
    Vacancy!, 'Economic Rent'!").Select
    ActiveWindow.ActiveSheets.PrintOut Copies:=1, Collate:=True
    End Sub

    luch to anyone in the LA area who can help me out!!!
    THANKS



  2. #2
    Trevor Shuttleworth
    Guest

    Re: Embedded button print macro

    something like:

    Sheets(Array("Sheet1", "Sheet2", "Sheet3")).PrintPreview

    Regards

    Trevor


    "grantfeek" <[email protected]> wrote in message
    news:[email protected]...
    > i'm trying to program a button to print selected worksheets from an excel
    > file:
    >
    > Private Sub CommandButton1_Click()
    > Range("Summary!, 'IRR Summary'!, 'Presentation Cash Flow'!, 'Rent Roll'!,
    > Vacancy!, 'Economic Rent'!").Select
    > ActiveWindow.ActiveSheets.PrintOut Copies:=1, Collate:=True
    > End Sub
    >
    > luch to anyone in the LA area who can help me out!!!
    > THANKS
    >
    >




+ 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