How to Change the Default Number of Copies in File Print

Last reviewed: August 4, 1997
Article ID: Q118479
2.x 6.00 6.00a 6.00c 7.00 WINDOWS kbusage kbmacro kbhowto

The information in this article applies to:

  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, version 7.0
  • Microsoft Word for Windows NT, verison 6.0

SUMMARY

This article describes how to change the default number of copies in the Print dialog box. (To locate this option, choose Print from the File menu.)

MORE INFORMATION

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

The following macro will change the default number of copies to print to 3. You must name the macro "FilePrint" because it replaces the Word command FilePrint.

Sub MAIN
on error goto out Dim dlg As FilePrint GetCurValues dlg dlg.NumCopies = 3 Dialog dlg FilePrint dlg out:
End Sub

You can specify a number other than 3 on the following line

   dlg.numcopies = x

where "x" should be replaced with the desired number of copies.

Kbcategory: kbusage kbmacro kbhowto KBSubcategory:


Additional reference words: winword2 2.00 2.00a 2.00a-CD 2.00b 2.00c 6.00
word7 word6 winword 6.00c 7.00 word95 6.00a 6.00c
fileprint copies number print winword


Version : 2.x 6.00 6.00a 6.00c 7.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 4, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.