편집

다음을 통해 공유


Current module does not support Print method

Not all methods and properties are appropriate in all modules. This error has the following causes and solutions:

  • You tried to use the Print method on an object that can't display anything. For example, you can't use the Print method without qualification in a standard module.

    Remove the reference to the Print method, or qualify it with an appropriate object. For example, qualify it with the Debug object to display its arguments in the Immediate window during debugging.

  • You tried to use the Line, Circle, PSet, or Scale method on an object that can't accept them. For example, they can't appear unqualified in a standard module or an Automation class module.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.