Link to home
Start Free TrialLog in
Avatar of Jim P.
Jim P.Flag for United States of America

asked on

Convert VB PDF merge function to VBA

There is a VB function/module to merge multiple PDF documents to a single PDF located at
http://www.pdfonline.com/absolutenews/anmviewer.asp?a=5&z=1

The full source code is at:
http://www.pdfonline.com/absolutenews/articlefiles/5-VB_Merge.zip

And there is more before the "Private Sub ButtonCheckFileEncryption_Click()"
sucha as:
---------------------------------------------
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form ep4proc
   BorderStyle     =   1  'ŒÅ’è(ŽÀü)
   Caption         =   "PDF Processor sample program (VB)"
............
---------------------------------------------

We'd like to be able to convert it to an Access VBA function.
Avatar of Leigh Purvis
Leigh Purvis
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi Jim

Were you looking at that source code in Notepad?
That waffle between the ------'s just looks like a Form's source.

The code itself looks alright - except for a need to reference the easyPdfSdk and a common dialog ActiveX (blurgh).

Is there anything in particular that is failing once it's in Access?
ASKER CERTIFIED SOLUTION
Avatar of Leigh Purvis
Leigh Purvis
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jim P.

ASKER

From the programmer who actually implemented it:
----------------------------------
Great.  That works wonderfully :)  

Thank you
He's welcome...
May all his days get brighter and brighter ;-)

(And yours too Jim :-)
Avatar of Jim P.

ASKER

Thanks.