Microsoft Knowledge Base Email Alertz

(172782) - In Microsoft Project, when you use the Macro Recorder to record the action of clicking the Print button on the Standard toolbar, the following macro command is recorded: FilePrint Copies:=1 When you run the macro that contains this code, the Print...

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: 172782 - Last Review: September 18, 2011 - Revision: 6.0

Running recorded FilePrint macro shows print options

This article was previously published under Q172782

SYMPTOMS

In Microsoft Project, when you use the Macro Recorder to record the action of clicking the Print button on the Standard toolbar, the following macro command is recorded:
   FilePrint Copies:=1
				
When you run the macro that contains this code, the Print Options dialog box appears. This is the same behavior you will receive if you click Print on the File menu. However, it is not the same behavior you receive if you click the Print button on the Standard toolbar.

WORKAROUND

To work around this problem, edit the macro code and replace this code:
   FilePrint Copies:=1
				
with this code:
   FilePrint FromPage:=1
				

STATUS

Microsoft has confirmed that this is a problem in the versions of Microsoft Project that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft Office Project Professional 2007
  • Microsoft Office Project Standard 2007
  • Microsoft Office Project Professional 2003
  • Microsoft Office Project Standard 2003
  • Microsoft Project 2002 Professional Edition
  • Microsoft Project 2000 Standard Edition
  • Microsoft Project 98 Standard Edition
  • Microsoft Project 4.1 Standard Edition
  • Microsoft Project 4.0 Standard Edition
  • Microsoft Project 2002 Standard Edition
  • Microsoft Project Professional 2010
  • Microsoft Project Server 2010
  • Microsoft Project Standard 2010
Keywords: 
kbbug kbmacro kbpending kbusage KB172782
       

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