Hello,
I have a slight problem. Whenever I run the code below I get an error Message: "Compile Error ByRef argument type mismatch" And the Sheet9 (marked in red here) is marked yellow in the debugging mode.
Obviously my code there is not valid but how to modify it so that it will work?
Just in case it is not Clear what I want to achieve is simply that I want the Macro to check IF there is a Sheet9 (IF it exists in the WorkBook) and if YES then add it as a PDF attachement as well. If it does NOT exists then go on With the macro.
Bookmarks