Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Basic VB Code to Combine PDFs?

Posted on 2013-06-17
11
Medium Priority
?
624 Views
Last Modified: 2013-08-02
Hi - I need a super-simple way to use VB to combine PDFS after the same code routine makes individual PDFS.

I have looked at some code here and on other sites, and feel a little at sea.  Also borrowed some code from a colleague, but there was some machine dependency that I couldn't figure out.  

what I think I need is something that stands on its own.

I am not sure what statements I would need "at the top" as I am shakey on the industrial strength programming statements.  

I can "set variable = something or other" once the initialization is done.  

I would feed it a folder location 1, and file names from folder location 1.  you get back a merged pdf which is saved in folder location 2.  

Thanks much!
0
Comment
Question by:betekhtin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 27

Accepted Solution

by:
MacroShadow earned 1000 total points
ID: 39253853
There is no stand-alone option using vba. You have to use a third-party application.

These links should give you an idea.
http://www.access-programmers.co.uk/forums/showthread.php?t=212734
http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/72b025ec-4248-4e43-9485-22f02c303255/
0
 
LVL 46

Assisted Solution

by:tbsgadi
tbsgadi earned 1000 total points
ID: 39256805
Here's code to do it:
http://www.codeproject.com/Articles/69177/PDF-Merge

Here's an activeX that makes life easier:
http://www.guangmingsoft.net/PDFSplitMerge/index.htm


Gary
0
 

Author Comment

by:betekhtin
ID: 39259728
Thank you both - I will take a crack at this later in the week.

One question - my corporate firewall classifies guanmingsoft.net as malicious - do you have any other source for the active x code?  

Sara
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 46

Expert Comment

by:tbsgadi
ID: 39259788
Maybe speak to them,
I've been using the activeX for years and have never had problems.

Here's another link:
http://www.softpedia.com/get/Programming/Components-Libraries/PDF-Split-Merge-ActiveX-Component.shtml
0
 

Author Comment

by:betekhtin
ID: 39301965
Hi all - sorry for the long silence, I am taking on board these suggestions but haven't yet had a chance to work with them - pretty brutal couple of weeks at work here, and no time to close the door and wrestle with code (as you can guess, I am one of those amateurs who, because of tech cutbacks, "gets" to do their own programming....)  I am sure I will have more questions.  Moderators - please leave this question open, I'm working as hard as I can on it!

S
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 39360765
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 39360766
I gave both code and an activex that works
0
 

Author Comment

by:betekhtin
ID: 39365198
guys, please stop cancelling this question - I have been caught for weeks in the bug that doesn't allow some users to log in - to successfully log in it seems I have to request a new password, and then log in via "edit profile"  - I'm very grateful for the help so far, but I'm an inexpert programmer, so I need a bit of time to absorb the help, and to absorb the help, I need to be able to log in.  (By the way, if you have a fix for the "get error message when logging in with valid user name and password" bug, I'll gladly take it. )
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Viewers will learn the different options available in the Backstage view in Excel 2013.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question