Must specify which item(s) to print
You haven't specified what to print. Check at least one of the Form or Code check boxes in the Print dialog box after choosing Print from the File menu.
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.