PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

PdfSharp in VBA Excel
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4205
Page 1 of 1

Author:  numpty [ Sun Nov 22, 2020 2:29 am ]
Post subject:  PdfSharp in VBA Excel

Hi All,

I've recently been trying to bulk export password protected PDF's directly from Excel with the password for each PDF contained in a cell. From a lot of Googling it's evident that it is not possible within Excel and VBA alone so I've been trying to use PdfSharp in VBA which allows for this. I've had some looking around and used it within Visual Studio and it works however when trying to convert it to be used in VBA via Regasm it doesn't appear to work. I generate the tlb file and then add into VBA resources successfully but when looking into the library itself it's blank. Any idea on where I am going wrong would be fantastic.

Author:  rsoeung [ Wed Jun 16, 2021 11:31 pm ]
Post subject:  Re: PdfSharp in VBA Excel

Here's the answer to your question. https://stackoverflow.com/questions/37074533/how-to-call-net-methods-from-excel-vba

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/