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!

    Hello,

    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.

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

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,189
    Articles
    57
    Blog Entries
    14
    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 (Excel)

    Master your data with Power Query: Purchase your copy of my book M is for Data Monkey today!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/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
  •