New Forum | Previous | Next | (P-PDF) Developers
Topic: Print to File with Filename in Excel VBA
Conf: (P-PDF) Developers, Msg: 55869
Date: 5/29/2002 05:15 PM
I've hit a roadblock with Excel's "sin of omission" of neglecting to include the ability to specify the filename and path when using "print to file" in VBA. You can do this in the other Office products, but not Excel.
MicroSoft has apparently known about this for years, but has never fixed it; I'm sure it would be a simple thing to remedy. If I were able to print to file and specify the filename and path, I could create PostScript files from Excel worksheets, and programatically distill these via an Acrobat runfile into a single PDF file, complete with bookmarks, etc.
Has anyone developed a way to specify filename/path with the print to file command in Excel VBA? Perhaps by calling a VB6 or C++ routine, etc.?