Printing

  • Thread starter Thread starter smith.james0
  • Start date Start date
S

smith.james0

Is there any way of getting my computer to automatically print a work
sheet everyday?

James
 
smith.james0 said:
Is there any way of getting my computer to automatically print a work
sheet everyday?
Have a look at Scheduled Tasks in Control Panel
 
I have got it to open the file. I just don't know how to get it to prin
:confused
 
this will automatically print the excel sheet whenever the excel
workbook is opened, you to copy this code in "this workbook" at vba
editor, save it and close it.Now whenever the file is opened, it
prints.


Private Sub Workbook_Open()
ActiveWindow.SelectedSheets.PrintOut Copies:=1
End Sub
 
Do i click on the work sheet i want to print, as there is six sheet
containing about 50 ish pages :) I only need to print work sheet
 
I am assuming that Sheet6 is the name of sheet 6, change the name if it
is different than that.

you have to copy this code in "this workbook" at vba editor, save it
and close it.Now whenever the file is opened, it prints sheet6.



Private Sub Workbook_Open()
Sheets("Sheet6").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1
end sub
 
also try
(Sheet6 is supposed to be the VBA name of the sheet, this way you can
change the name of the sheet)

Private Sub Workbook_Open()
Sheet6.PrintOut Copies:=1
end sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top