Application.FilePageSetupCalendarText Method
Project Developer Reference |
Formats calendar text for printing.
Syntax
expression.FilePageSetupCalendarText(Name, Item, Font, Size, Bold, Italic, Underline, Color)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Name | Optional | String | The name of the calendar to edit. |
Item | Optional | Long | The text item to format. Can be one of the PjPageSetupCalendarItem constants. |
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. |
Color | Optional | Long | The color of the text. Can be one of the PjColor constants. |
Return Value
Boolean
Remarks
Using the FilePageSetupCalendarText method without specifying any arguments displays the Text Styles dialog box.
Example
The following example formats monthly titles in red for printing.
Visual Basic for Applications |
---|
|
See Also