Microsoft Knowledge Base Email Alertz

(119584) - 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...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 119584 - Last Review: January 19, 2007 - Revision: 3.2

PRJ: Summary Rollup Milestones Change Format When Edited

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."

APPLIES TO
  • Microsoft Project 2000 Standard Edition
  • Microsoft Project 98 Standard Edition
  • Microsoft Project 4.1 Standard Edition
  • Microsoft Project 4.0 Standard Edition
Keywords: 
kbcode kbinfo kbmacro KB119584
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Anonymous User - redtop72 NOSPAM-AT-NOSPAM mindspring.com Report As Irrelevant  
Written: 3/12/2004 2:11 PM
The body of this article seems to have absolutely nothing to do with its title. I am specifically trying to find information on how to use VBA to format the milestones (add name as BottomText) in a summary rollup. Thanks!