Automating PDF Generation in Project

G

Goody

I am trying to write a short macro to generate a PDF file from a Project
schedule using PDF995. I have determined the code to send the file to PDF995,
but I need to specify the file name in advance, so no interaction is required
from the user. Thus far I have the following:

Sub PDF_Output()
' Prints file as PDF
FilePrintSetup "PDF995"
FilePageSetupPage PagesTall:=1, PagesWide:=1
FilePrint 1
End Sub

When this code is executed, the PDF995 Save As dialog box pops up requesting
a file name. How can I specify the file name in advance?

Goody
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top