+ Reply to Thread
Results 1 to 2 of 2

Printing visible pages

  1. #1
    Forum Contributor
    Join Date
    10-03-2016
    Location
    Sydney, Australia
    MS-Off Ver
    MS 365
    Posts
    128

    Printing visible pages

    Hi there,

    This is similar to another question I had previously, but different.

    I have one worksheet which is my "Print" sheet. In total, there are 36 pages lets say (I haven't completed the file yet, so not sure of the exact number).

    Some of the pages will be conditionally formatted to turn white based on another cell's value (the other cell is a date, sometimes it will appear blank as there is no date).

    Is there a macro to insert a commandbutton to print the worksheet but only the pages that are conditionally formatted white so they appear blank?

    Basically, I could have pages 1 to 5 appearing, page 6 turns white, page 7 to 20 appear, page 21 to 23 turns white and page 24 to 36 appear. So I would only want pages 1 to 5, 7 to 20 and 24 to 36 to print.

    I'm assuming this would be virtually impossible but I have hope! I'm not very good with macro's so I wouldn't know how to write it out exactly.

  2. #2
    Forum Contributor
    Join Date
    10-03-2016
    Location
    Sydney, Australia
    MS-Off Ver
    MS 365
    Posts
    128

    Re: Printing visible pages

    Sorry, that fourth paragraph doesn't make sense.

    I will already have a commandbutton on the page of course. I want the macro to print the pages that don't appear conditionally formatted white, these white "blank" pages I don't want to print at all.

+ 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. Printing one or two pages
    By Rob K in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-09-2015, 05:23 PM
  2. VBA for printing just 1 of 1 pages
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2014, 07:29 PM
  3. [SOLVED] Printing 20 pages....asking for 1
    By bubbagirl1990 in forum Excel General
    Replies: 4
    Last Post: 04-08-2013, 07:25 PM
  4. Replies: 1
    Last Post: 12-05-2012, 05:30 AM
  5. Printing Pages
    By zplugger in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-08-2009, 04:50 PM
  6. Printing Odd or Even Pages
    By NAVEEN in forum Excel General
    Replies: 0
    Last Post: 02-21-2006, 05:50 AM
  7. Printing odd pages
    By mattguerilla in forum Excel General
    Replies: 1
    Last Post: 01-27-2006, 12:45 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