I'm having problems with the below code.
I have incorporated it into the Code Window commandbar which simply calls PrintProcedure.
The call is working fine, it's just that whenever I right click over a VBA procedure I want to print and select the "Print this procedure" entry (which calls PrintProcedure), Notepad opens up and always complains:
Cannot find the [full path and filename] file. Do you want to create a new file?
However, if I set a break point in PrintProcedure, call it as above and then step through it I don't get the complaint. Can anyone suggest what I'm doing wrong?
Bookmarks