PPT2000: Unable to Change the ActivePrinter Property With VBA

ID: Q222706


The information in this article applies to:
  • Microsoft PowerPoint 2000


SYMPTOMS

When you try to change the ActivePrinter property using Microsoft Visual Basic for Applications code, you receive the following error message:

Run-Time error '450'
Wrong number of arguments or invalid property assignment
If you click Debug, the Visual Basic Editor highlights the line with which you are trying to assign a new printer.


CAUSE

The ActivePrinter property is a read-only property and cannot be changed programmatically.


REFERENCES

For more information about using the sample code in this article, please see the following article in the Microsoft Knowledge Base:

Q212536 OFF2000: How to Run Sample Code from Knowledge Base Articles

Additional query words: 9.00 ppt9 vba vbe ppt2k powerpt vba2k ppt9.0 ppt2000 program programming programmatically

Keywords : kbcode kbprg kbdta kbpptvba
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: July 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.