Microsoft KB Archive/119584

= PRJ: Summary Rollup Milestones Change Format When Edited =

Article ID: 119584

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Project 2000 Standard Edition
 * Microsoft Project 98 Standard Edition
 * Microsoft Project 4.1 Standard Edition
 * Microsoft Project 4.0 Standard Edition

-



This article was previously published under Q119584



SUMMARY
To create a Visual Basic, Applications Edition, macro that uses the FilePrint command but that does not display the Print dialog box, use any of the Object qualifiers in their non-default modes.

For example, you can use the following syntax:

FilePrint 1

When you use this command in a Visual Basic module in Microsoft Project for Windows, you will print the active file starting with the first page and the Print dialog box will not be displayed.



MORE INFORMATION
The FilePrint method uses the following syntax:

FilePrint fromPage, toPage, pageBreaks, draft, copies, fromDate, toDate, onePageWide, preview, color

In the example above, the qualifier fromPage is set to the first page.

For more information about the named arguments that you can use with the FilePrint command in Visual Basic, Applications Edition, choose the Contents command from the Help menu in Microsoft Project, and choose the Visual Basic Reference icon. In the Visual Basic Reference, choose the Search button, and type "FilePrint."

Additional query words: prj2000 VBapps

Keywords: kbcode kbinfo kbmacro KB119584

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.