#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Printer

Hi,

While printing excel worksheets one after the other using a macro, seems
to be a problem, I can't go further than 3 worksheets, then I get a
memory problem, is a lot of people using that printer almost at the same
time, I'm looking to a way to solve this problem.
May be one of you guys, who has experience can guide me in how to do it.

Thanks,

Fernando
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Printer

Fernando,
Show your code.
Do you get the same problems when printing directly from Excel and/or other
apps ?

Maybe also play with your Spoller settings of the printer.

NickHK

"Fernando Duran" wrote in message
...
Hi,

While printing excel worksheets one after the other using a macro, seems
to be a problem, I can't go further than 3 worksheets, then I get a
memory problem, is a lot of people using that printer almost at the same
time, I'm looking to a way to solve this problem.
May be one of you guys, who has experience can guide me in how to do it.

Thanks,

Fernando



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Printer

NickHK wrote:
Fernando,
Show your code.
Do you get the same problems when printing directly from Excel and/or other
apps ?

Maybe also play with your Spoller settings of the printer.

NickHK

"Fernando Duran" wrote in message
...
Hi,

While printing excel worksheets one after the other using a macro, seems
to be a problem, I can't go further than 3 worksheets, then I get a
memory problem, is a lot of people using that printer almost at the same
time, I'm looking to a way to solve this problem.
May be one of you guys, who has experience can guide me in how to do it.

Thanks,

Fernando



Hi Nick,

It's a very simple code
Sub imprimir()
'

ans = MsgBox("Do you want to print Canadian branches!!", vbYesNo)
If ans = vbNo Then
Exit Sub
End If
Dim col As Integer
Dim row As Integer
Dim con As Integer
Dim I As Integer



col = 2
row = 3
con = 3
For row = row To 20
If Sheet1.Cells(row, con - 1) = "" Then
Exit Sub
Else
ENGLISH.Cells(3, 7) = ENTRY.Cells(row, con)

con = con + 1

Sheet2.PrintOut

Sheet1.Cells(row, 5) = "Printed"
'For I = I To 30000
Sheet1.Application.Wait (Now + TimeValue("00:00:10"))
'Next I
I = 0


End If
Next row

End Sub



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
Printer Rey Excel Discussion (Misc queries) 3 October 23rd 07 09:02 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
Printer Multiple Worksheets with a particular Printer Setting PP[_2_] Excel Worksheet Functions 0 March 14th 07 02:02 PM
Send printer escape commands to a printer using VBA mikeburg[_41_] Excel Programming 3 October 6th 05 07:36 PM
Printer Set Up in VBA PostalVote Excel Programming 3 July 29th 04 12:29 PM


All times are GMT +1. The time now is 03:27 PM.

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

About Us

"It's about Microsoft Excel"