I had to add the following line before the .PrintOut line to get it working in Excel 97:
Application.SendKeys ("c:\myPDF.pdf{TAB}~")
The VBA help in Excel 97 says:
PrintToFile Optional Variant. True to print to a file. Microsoft Excel prompts the user to enter the name of the output...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.