+ Reply to Thread
Results 1 to 2 of 2

Setting a Dynamic Print Area on a template.xlsx

  1. #1
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    375

    Setting a Dynamic Print Area on a template.xlsx

    Morning all,

    Attached is a formatted workbook that is used as part of a weekly scheduling process. I am looking for a way to set a dynamic print area for the "3 week schedule by order" worksheet.

    Right now the print area is set to
    Please Login or Register  to view this content.
    whis is usually larger than the data being pasted into it.

    Once SAP data is queried and entered into the sheet the total number of rows containing data will not be equal to 686. For this example there is a Desired Results worksheet containing only 330 rows of data.

    The last row containing data in A:A will always be the last row of the print area, and the end of the print area will always be N:N of that row.

    How can this be automated?

    As always.... Thanks for the help.
    Attached Files Attached Files
    Last edited by scaffdog845; 12-10-2009 at 12:19 PM. Reason: Figured it out!
    Click here to read the Forum Rules
    Whatever it is in life you decide to go after, go after with great ferocity.

  2. #2
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    Microsoft 365
    Posts
    375

    Re: Setting a Dynamic Print Area on a template.xlsx

    I think I figured it out. I was thinking it may be a VBA solution however a formula for the print area seems to do the trick.

    Please Login or Register  to view this content.
    Lifes great when you get it yourself.

+ 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