Setting Print Window

H

Hacknwhack

Is there a way to setup the Print Timescale from within the macro. An
attempt to Macro Record this turned up nothing.
I am importing all the data currently and would like to automatically set
this up, such that the user needs to simply check out the Preview and print
away :)

Thanks in advance

-hack
 
J

Jan De Messemaeker

Hi,

Please find below the help text of the fileprint method:


FilePrint Method


Prints the active view.

Syntax

expression.FilePrint(FromPage, ToPage, PageBreaks, Draft, Copies, FromDate,
ToDate, OnePageWide, Preview, Color)

expression Optional. An expression that returns an Application object.

FromPage Optional Integer. A number that specifies the first page to
print. The default value is 1.

ToPage Optional Integer. A number that specifies the last page to print.
The default is the last page in the project.

PageBreaks Optional Boolean. True if Microsoft Project uses manual page
breaks when printing. The default value is True.

Draft Optional Boolean. True if Microsoft Project prints the active view
in draft mode. The default value is False.

Copies Optional Integer. A number that specifies the number of copies to
print. The default value is 1.

FromDate Optional Variant. A number or string that specifies the first
date to print. The default is the start date of the project.

ToDate Optional Variant. A number or string that specifies the last date
to print. The default is the finish date of the project.

OnePageWide Optional Boolean. True if Microsoft Project prints only the
leftmost columns of the active view. The default value is False.

Preview Optional Boolean. True if Microsoft Project previews the active
view rather than printing it. The default value is False.

Color Optional Boolean. True if Microsoft Project prints the active view
in color. The default value is False.


Hope this helps,
 

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