Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pages going very slow to the print spooler Stormingerman Excel Discussion (Misc queries) 1 September 2nd 09 03:28 PM
Available Printer names to be placed in a range on a sheet and Force selection based on part of Printer name Corey Excel Programming 0 October 3rd 08 01:27 AM
Excel closes unexpectedly on print command causing a spooler.exe e Double-UA Excel Discussion (Misc queries) 2 December 22nd 07 12:07 PM
store default printer, change printer and then restore default printer? Dennis Pedersen Excel Programming 0 November 14th 07 09:18 PM
members on my network printer not able to print to default printer smeheut Excel Discussion (Misc queries) 0 June 18th 07 06:42 PM


All times are GMT +1. The time now is 10:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"