+ Reply to Thread
Results 1 to 3 of 3

Changing print settings within single worksheet

Hybrid View

  1. #1
    Registered User
    Join Date
    03-07-2014
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    2

    Changing print settings within single worksheet

    How do I change the print settings of individual pages within a worksheet. Specifically, I'd like my worksheet to print out 4 pages, the first as portrait and the remaining as landscape.

  2. #2
    Registered User
    Join Date
    08-06-2013
    Location
    Quebec
    MS-Off Ver
    Excel 2013
    Posts
    31

    Re: Changing print settings within single worksheet

    Sub ChangePrintSettings()
        Rows("1:42").Select 'Change rows so it finds the rows that you want on your first page
        With ActiveSheet.PageSetup
            .Orientation = xlPortrait
        End With
        Selection.PrintOut Copies:=1
    
        Rows("43:84").Select 'Change rows so it finds the rows that you want on your second page
        With ActiveSheet.PageSetup
            .Orientation = xlPortrait
        End With
        Selection.PrintOut Copies:=1
    
        Rows("85:126").Select 'Change rows so it finds the rows that you want on your third page
        With ActiveSheet.PageSetup
            .Orientation = xlPortrait
        End With
        Selection.PrintOut Copies:=1
    
        Rows("127:168").Select 'Change rows so it finds the rows that you want on your third page
        With ActiveSheet.PageSetup
            .Orientation = xlLandscape
        End With
        Selection.PrintOut Copies:=1
    End Sub

  3. #3
    Registered User
    Join Date
    03-07-2014
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Changing print settings within single worksheet

    The sheet actually prints out as multiple pages because it's too wide. Can I adjust the column width per page? Also, the first 3 columns are frozen panes that need to be printed on each of the four pages.

+ 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. Print a single line around printed pages (a border) according to margin settings
    By CliveOnline in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-14-2012, 06:22 PM
  2. Copying Print Settings from one worksheet to another
    By tverdun in forum Excel General
    Replies: 4
    Last Post: 08-26-2009, 09:47 PM
  3. Changing the default print settings in Excel
    By Sam D in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2006, 10:35 AM
  4. [SOLVED] excel 2003 changing saved print settings
    By George Applegate in forum Excel General
    Replies: 0
    Last Post: 11-01-2005, 04:09 PM
  5. [SOLVED] Changing print settings permanently
    By woodjm in forum Excel General
    Replies: 1
    Last Post: 08-22-2005, 02:05 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