PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Dec 04, 2021 4:32 am

All times are UTC

Forum rules

Please read this before posting on this forum: Forum Rules

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PdfSharp in VBA Excel
PostPosted: Sun Nov 22, 2020 2:29 am 

Joined: Sun Nov 22, 2020 2:13 am
Posts: 1
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.

Reply with quote  
PostPosted: Wed Jun 16, 2021 11:31 pm 

Joined: Sat Jan 09, 2021 7:09 am
Posts: 18
Here's the answer to your question. https://stackoverflow.com/questions/37074533/how-to-call-net-methods-from-excel-vba

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 44 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group