I have the following setup:
MacBook Pro M1 with macOS Monterey version 12.3
Parallels Desktop 17 for Mac. Version 17.1.4
Excel for Mac version 16.63.1. MS Office 365 subscription.
Windows 10
My code worked on my old Mac 2011 with parallels however it's having trouble opening a file.
I get the following error: Run-time error '-2147221014(800401ea)':
when I use either one of the paths below.
version 1
PDFTemplateFile = ActiveWorkbook.Path & "/SCUF For Emailing.pdf"
or
PDFTemplateFile = "W:/SCUF For Emailing.pdf"
The. PDF form is in the same folder as the active workbook and on Drive W: This drive is a separate hard drive connected to the mac. The drive letter designation is from File Explorer in Windows.
The code fails at this line which follows shortly thereafter; Thisworkbook.FollowHyperlink PDFTemplatefile.
Also, Use Rosetta is unchecked for my Excel Application.
Any help would be appreciated.
Jeff
Bookmarks