+ Reply to Thread
Results 1 to 2 of 2

Print specific pages based on specific cells

  1. #1
    Registered User
    Join Date
    05-29-2008
    Posts
    1

    Print specific pages based on specific cells

    I am trying to find a way to look at a specific worksheet and specific cells within that worksheet and if there is data displayed in that cell (there is a formula in the cell) print that page.

    I searched the forum to see if I could write some VBA to do this but it seems most of the code that I found looks for the last cell with data and then sets the print area based upon that.

    To be clear....I have a worksheet that has printable pages (A1:H35 is one page, A36:H70 the next, then I1:P35 and so on). The top few rows have hard data that is the same on all. I want to look at a certain cell (E9,M9,E44, etc.) and print that page if there is data (again there is a formula in that cell). I am guessing this is somewhat easy with VBA?? Any help is greatly appreciated.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try this macro

    Please Login or Register  to view this content.
    Martin

+ 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