![]() |
printer spooler
Hi all, What i need to do is to Print a certain area of the work sheet and then check if it has vanished from the print spooler (think thats what you call the place where documents sit until successfully printed.). Can anyone help, i have this so far. The important thing is to monitor if area printed, as the requirement is that a particular area can only be printed once. Sub setprintarea() Dim myrange As String STRow% = 12 myrange = Cells(Rows.Count, 1).End(xlUp).Address ActiveSheet.PageSetup.PrintArea = "$A$" & STRow & ":" & myrange ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True End Sub Thanks |
printer spooler
Did you ever get this to work?
I need the same capability. If so, could you please post the code? Thanks "sunilpatel" wrote: Hi all, What i need to do is to Print a certain area of the work sheet and then check if it has vanished from the print spooler (think thats what you call the place where documents sit until successfully printed.). Can anyone help, i have this so far. The important thing is to monitor if area printed, as the requirement is that a particular area can only be printed once. Sub setprintarea() Dim myrange As String STRow% = 12 myrange = Cells(Rows.Count, 1).End(xlUp).Address ActiveSheet.PageSetup.PrintArea = "$A$" & STRow & ":" & myrange ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True End Sub Thanks |
All times are GMT +1. The time now is 12:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com