Hello helpme, and welcome to the forum.
The PDFCreator code that you've found on my site will not work with Adobe. Adobe has it's own set of libraries which have different properties and methods than PDFCreator.
I'm curious what version/suite of Adobe's products you are using... do you currently have a PDF writing software installed? (Such as Distiller, or Acrobat Pro)
What version of Excel are you using?