vba Print current module

Happy New Year!
I cant remember how to print the code from a single MODULE from the MS vba environment.
When I right click the required module and select 'Print', the print dialogue box offers an active radio button only for:
'current project', but NOT for:
'current module' - which remains dimmed out.

Can you enlighten, please!
Kelvin4
Kelvin4Asked:
Who is Participating?
 
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
Which Office Product?
What verion of Office?

Try opening the code module. On VBE menu Select File > Print.
0
 
Kelvin4Author Commented:
Thanks 'Coach:
Snap! I remembered too: its a question of maintaining the 'print' focus

My Error: I was right clicking module icon in Project explorer in order to activate print. But that took the focus away from the selected module sheet/code.

Correct method, open module and (as you say) use the print command on the ribbon, then the selection (be they module or selected code lines) will be respected and I get printed what I want.

Thanks, and happy new year
K4
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.