Run-time error '2147024773 (8007007b) Document not saved

  • Hello Experts,


    There is an Run-time error '2147024773 (8007007b) Document not saved while trying to export excel as PDF. Please help me resolve this problem. Attaching code below.



  • Note the quotation marks around the str name.


    To test your macro I changed a few things but ... just put the quotation marks where indicated.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!