Consulting

Results 1 to 3 of 3

Thread: auto print

  1. #1
    VBAX Regular
    Joined
    Jul 2008
    Posts
    43
    Location

    auto print

    I have a inspection report set so that when you hit the print button it will save the document, clear everything and then print. How do I tell it to only print the pages that are filled out?

  2. #2
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    Try experiementing with the Selection.printout command
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  3. #3
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Quote Originally Posted by niyrho
    How do I tell it to only print the pages that are filled out?
    How do you identify these? Set a Range for each page. Loop through each cell that range that can be filled. If any are completed, print the range.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •