Not all methods and properties are appropriate in all modules. This error has the following causes and solutions:
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.
For additional information, select the item in question and press F1.