macro prints too many copies

sparks

New Member
Joined
Mar 21, 2002
Messages
2
I use a macro to automatically print or e-mail a workbook:

Application.OnTime TimeValue("06:55:00"), "Print_Out",

where "Print_Out" is a macro that actually does the printing:

ActiveWindow.SmallScroll ToRight:=-1
ActiveWindow.SmallScroll Down:=-1
Range("B2:P32").Select
ActiveWindow.SelectedSheets.PrintOut , Collate:=True

The problem is that I get multiple copies of the same book, but I have specified only 1 in the print macro. It does the same thing when I e-mail, it spits out say 4 copies of the same thing.
Any help is so greatly appreciated !
This message was edited by sparks on 2002-03-23 06:25
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I tried:
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Still printed out 2 copies.
Will this macro run as many times as it can in 1 second ??

Need to include something to tell it to run the macro at the time specified, only 1 time.
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top