+ Reply to Thread
Results 1 to 3 of 3

.FitToPagesTall = 1 Problem

  1. #1
    Registered User
    Join Date
    01-30-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Smile .FitToPagesTall = 1 Problem

    Good evening!
    I'm working on a macro that has multiple functions and I can't troubleshoot why my formatting is not working.
    (I mostly pieced these macros together from the genius I found on this site - so thank you to the gurus!)
    Here is the workbook:
    Copy of Testing Format Macro.xlsm
    Within my CreateWorkbook macro two others run - Breakout by carton and LoopSheetFormat. Below is the code for LoopSheetFormat where I am having trouble. The sheets do not Fit to 1 page Tall or Wide.
    Please Login or Register  to view this content.
    Any advice?
    Thank you in advance!

  2. #2
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: .FitToPagesTall = 1 Problem

    Try entering the line in red and you don't need to activate the sheets.

    Please Login or Register  to view this content.
    Last edited by WasWodge; 02-02-2014 at 04:22 AM. Reason: added End Sub & spaced out a bit better
    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

  3. #3
    Registered User
    Join Date
    01-30-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    [Solved] Re: .FitToPagesTall = 1 Problem

    Thank you WasWodge!
    That's perfect!
    (I found that I do need to activate the sheet, because otherwise it only saves the formatting to the last sheet of the workbook, not all the sheets)
    Thanks again for your help!

+ 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. Require an automatic "fittopagestall" that checks for data
    By habsfan1433 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2013, 09:09 AM
  2. Replies: 6
    Last Post: 10-20-2013, 07:16 PM
  3. input box problem, cell filtering problem, result display while locking sheet
    By croozin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2013, 08:52 AM
  4. Replies: 6
    Last Post: 05-28-2013, 05:08 PM
  5. Replies: 2
    Last Post: 01-22-2013, 07:09 AM

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