Excel VBA code to work on Mac, Create PDF Function

前端 未结 2 702
清歌不尽
清歌不尽 2021-01-24 12:04

I have coded the following function. However, I cannot get it to work on office Mac. I am not sure of the procedure to find the EXP_PDF.DLL mac equivalent

Funct         


        
2条回答
  •  我在风中等你
    2021-01-24 12:10

    Here is a guide on how you can do it in newer versions of Mac Excel: https://www.rondebruin.nl/mac/mac034.htm

    What's important is that you can't save your file to a location that is selected by you.

    It has to be saved to the folder Library/Group Containers/UBF8T346G9.Office under the current user's home dir, so /Users/[current user]/Library/Group Containers/UBF8T346G9.Office in most of the cases. If the folder is not there, you have to create it. (See the code example on the page linked above)

    Kudos to Ron!

    Please vote for this to be fixed by MS here: https://excel.uservoice.com/forums/304933-excel-for-mac/suggestions/36531559-fix-exportasfixedformat-method

提交回复
热议问题