+ Reply to Thread
Results 1 to 7 of 7

printing non active excel sheets

  1. #1
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    printing non active excel sheets

    i have a sheet that counts days without an injury. is there a way to have that sheet print everyday even if it is not open?

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: printing non active excel sheets

    superchew, if you have this on an auto_open macro, just schedule the sheet in the windows task scheduler? If the sheet is closed then some other program or macro will have to open it. Assuming you mean the workbook with the sheet is not open. If the workbook that contains the sheet IS open, then it is different.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: printing non active excel sheets

    yes the sheet is closed. what is an auto open macro, and how do i put it in the windows task scedulare

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: printing non active excel sheets

    What version of windows?

    You can name a macro "sub auto_open()"
    That makes it run as soon as the workbook is opened.
    then the macro can run the sheet and close the workbook.
    By making windows open the sheet from the task scheduler (in control panel, i can give you better directions with you version) it would/could run every day.

  5. #5
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: printing non active excel sheets

    windows 7 office 10

  6. #6
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: printing non active excel sheets

    i have a sheet that counts days without an injury. is there a way to have that sheet print everyday even if it is not open?
    No, you cannot print a sheet if the workbook is not open. It is fairly easy to write code to open a workbook, print a particular sheet and then close the workbook if that's what you need.

    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  7. #7
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: printing non active excel sheets

    superchew,

    If you put the print macro and a line of code to close the workbook in a macro called auto_open as mentioned before, then you can have it print every day, and close itself after printing. Then in the control panel in windows, go to administrative tools, and then Task Scheduler. Select Create Task on the right, and under the Actions tab you can click new, then add your excel sheet. Under the Triggers tab you can set it up to run daily, and you can specify the time.

+ 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. Excel macro for printing multiple sheets...
    By nicklas in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-11-2012, 11:22 AM
  2. Printing multiple sheets in excel
    By Werner.75 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2012, 12:34 PM
  3. Printing Excel Sheets
    By GBR2L in forum Excel General
    Replies: 1
    Last Post: 06-08-2010, 11:25 AM
  4. Printing Excel sheets
    By Maarten in forum Excel General
    Replies: 4
    Last Post: 04-06-2006, 09:10 AM
  5. Having trouble printing selected sheets in Excel
    By lost in the world in forum Excel General
    Replies: 1
    Last Post: 04-26-2005, 02:06 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