Need help correcting Macro

‌ I think you have helped me with this in the past.  I updated from SW2018SP4 to 2019 SP5 and I have this macro which creates a PDF file and places it in a specified file location.  When I try to use it I get this error. Any help would be great.  

SolidworksApi/macros