Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/172782

From BetaArchive Wiki
Knowledge Base


Running recorded FilePrint macro shows print options

Article ID: 172782

Article Last Modified on 1/20/2007



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 2002 Standard Edition
  • Microsoft Project 2000 Standard Edition
  • Microsoft Project 98 Standard Edition
  • Microsoft Project 4.1 Standard Edition
  • Microsoft Project 4.1a
  • Microsoft Project 4.0 Standard Edition



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.


Additional query words: PRJ2002 PRJ2003 PRJ PRJ2007 prj2000

Keywords: kbbug kbmacro kbpending kbusage KB172782