Does this go in the visual basic workbook section of the vba or in a module?

Also can I add a keyboard shortcut and make it work when you open up the workbook?

Thank you you help.

Tom