Microsoft KB Archive/128699

MPRJ4: EditCopyPicture Method with Argument Displays Dialog

PSS ID Number: Q128699 Article last modified on 07-21-1995

4.00

MACINTOSH

= SYMPTOMS =

In Microsoft Project, when you run a macro that contains the EditCopyPicture method, the Copy Picture dialog box may appear, even if you used the forPrinter argument with the command.

= CAUSE =

This behavior occurs if you use the EditCopyPicture method with the forPrinter argument set to the value False as in the following example:

EditCopyPicture forPrinter:=False

In this case, when you run the macro that contains this command, the Copy Picture dialog box appears with the For Screen option selected.

Normally, when you use a Visual Basic method with arguments, the command does not display a dialog box. Additionally, when you use the EditCopyPicture method with the forPrinter argument set to the value True as in the following example

EditCopyPicture forPrinter:=True

the Copy Picture dialog box does not appear when you run the macro that contains this command.

= STATUS =

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

= MORE INFORMATION =

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

ARTICLE-ID: Q128581 TITLE : MPRJ4: Arguments Not Recorded for EditCopyPicture Method

= REFERENCES =

For more information about the EditCopyPicture Method, choose the Search button in the Visual Basic Help and type:

EditCopyPicture

KBCategory: kbprg KBSubcategory: projmac

= Additional reference words: 4.00 =

Copyright Microsoft Corporation 1995.