Open a PDF using VBA in Excel

后端 未结 5 1888
南笙
南笙 2020-12-10 15:18

I\'m trying to open all appropriate PDFs found in the same directory as my Excel workbook using VBA. I\'ve added the Adobe Acrobat xx.x Type Library reference to the projec

5条回答
  •  我在风中等你
    2020-12-10 15:35

    Use Shell "program file path file path you want to open".

    Example:

    Shell "c:\windows\system32\mspaint.exe c:users\admin\x.jpg"
    

提交回复
热议问题