FilePageSetupCalendarText Method

Formats calendar text for printing.

Syntax

expression**.FilePageSetupCalendarText(Name, Item, Font, Size, Bold, Italic, Underline, Color)**

*expression   *     Optional. An expression that returns an Application object.

Name    Optional String. The name of the calendar to edit.

Item    Optional Long. The text item to format. Can be one of the following PjPageSetupCalendarItem constants: pjAllCalendarItems, pjMonthlyTitles, pjPreviousNextMonths, or pjAdditionalTasks.

Font    Optional String. The name of the font.

Size    Optional Integer. The size of the font in points.

Bold    Optional Boolean. True if the font is bold.

Italic    Optional Boolean. True if the font is italic.

Underline    Optional Boolean. True if the font is underlined.

PjColor

pjColorAutomatic pjNavy
pjAqua pjOlive
pjBlack pjPurple
pjBlue pjRed
pjFuchsia pjSilver
pjGray pjTeal
pjGreen pjYellow
pjLime pjWhite
pjMaroon  

Remarks

Using the FilePageSetupCalendarText method without specifying any arguments displays the Text Styles dialog box.

The FilePageSetupCalendarText method is only available when the Calendar is the active view.

Applies to | Application Object

See Also | FilePageSetupCalendar Method | FilePageSetupFooter Method | FilePageSetupHeader Method | FilePageSetupLegend Method | FilePageSetupMargins Method | FilePageSetupPage Method | FilePageSetupView Method