+ Reply to Thread
Results 1 to 2 of 2

Macro Applying Print Fit to One Page on All Worksheets in Workbook

  1. #1
    Registered User
    Join Date
    05-24-2013
    Location
    Seattle
    MS-Off Ver
    Excel 2003
    Posts
    1

    Macro Applying Print Fit to One Page on All Worksheets in Workbook

    I receive different workbooks from different sources, all of which require each worksheet to be printed after fitting to one page. The code for this works just fine, but does anyone know how I could write a code that would fit each worksheet to one page, instead of running the macro on each worksheet in the workbook? I am using Excel 2003, here is the code I use:

    With ActiveSheet.PageSetup
    .FitToPagesWide = 1
    .FitToPagesTall = 1
    .Zoom = False
    End With

    Thanks for your help

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Macro Applying Print Fit to One Page on All Worksheets in Workbook

    something like;
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

+ 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