Im stuck. Ive got this VBA script that will save worksheet to pdf, then attach it to a newly created draft email via Mac Script. Everything works as intended IF the pdf file named in the 'pdfFileName = "Carl.pdf" line. If I change the file name to 'pdfFileName = "Dave.pdf" (or any other name) I get an invalid procedure error. In both cases, the pdf is correctly saved in the correct path, just carl will attach the file & dave will not. So, I know the files both exist where they should, so they should both work. Ive tried a ton of variations and have been trying suggestion from AI. Any insight would be appreciated. Ive attached a truncated version if the VBA & Apple Script. Thanks in advance
Bookmarks