Results 1 to 3 of 3

Thread: PDFCreator Earl Binding

  1. #1

    PDFCreator Earl Binding

    Register for a FREE account, and/
    or Log in to avoid these ads!


    I was trying the script. Works fine with Excel 2007 on Window7 (64bit) as well as with Excel 2010 (32bit) on Windows 7 (32bit). But I encountered problems with the same script on Windows XP SP3 Home Edition and Excel 2003 Office Professional.

    Each time the script tries to exceute the following code line an error occurs and the EarlyExit is performed which resumes with the cleanup section. Same code is found in there again and thus I end up in an endless loop.

    Shell "taskkill /f /im PDFCreator.exe", vbHide
    Thanks for your help.

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Nanaimo, BC, Canada
    Blog Entries
    Excel Version
    Excel Office 365 Insider
    Hi Saceur,

    If I recall correctly, the issue is around the Home version of the OS. I'm fairly sure that they don't support using the shell command provided.

    If you need to use the same routine on multiple PCs, some pro and some home, you could try throwing an "On Error Resume Next" line in front of the shell command. It won't kill the PDFCreator instance, but your code will complete...
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: -||- Blog: -||- Forums:
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  3. #3
    Thanks, I feared it might be that way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts