PPT2000: Cannot Set NumberOfCopies and Collate Properties (254804)
The information in this article applies to:
- Microsoft PowerPoint 2000
This article was previously published under Q254804 SYMPTOMS
In a Microsoft Visual Basic for Applications (VBA) macro, if you try to set the number of copies by using the NumberOfCopies property of PrintOptions, only one copy is printed.
-or-
If you try to set the Collate property of PrintOptions to False, PowerPoint still collates the output of multiple copies.
For example the following code fragment only prints one copy:
ActivePresentation.PrintOptions.NumberOfCopies = 2
ActivePresentation.PrintOut
In addition, the Help topic for PowerPoint VBA for the NumberOfCopies and Collate properties of PrintOptions have incorrect examples showing how to use them.
CAUSE
By default, the PrintOut method sets Collate to True and NumberOfCopies to 1 if they are not specified when the method is called. This overrides the settings of the two methods of PrintOptions.
RESOLUTION
To set the number of copies and/or collation of your printed presentation, use the Copies:= and the Collate:= arguments for the PrintOut method of ActivePresentation, for example:
ActivePresentation.PrintOut Copies:= 2, Collate:=msoFalse
The line of code above prints two copies of the active presentation, and does not collate the output.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbdtacode kbpending KB254804 |
---|
|