HeaderFooterCode Members
Contains format codes used in headers and footers.
#Fields
Name | Description |
---|---|
Ampersand | Prints a single ampersand. |
Bold | Turns bold on and off for the text that follows the code. |
Center |
Centers the characters that follow. |
Date | Prints the current date. |
Double |
Turns double underline on and off for the characters that follow. |
Italic | Turns italic on and off for the characters that follow. |
Left |
Left aligns the characters that follow. |
Page |
Prints the current page number. |
Page |
Prints the total number of pages in the document. |
Picture |
Inserts a picture. Use the Worksheet |
Right |
Right aligns the characters that follow. |
Strikethrough | Turns strikethrough on or off for the characters that follow. |
Subscript | Turns subscript on or off for the characters that follow. |
Superscript | Turns superscript on or off for the characters that follow. |
Time | Prints the current time. |
Underline | Turns underline on or off for the characters that follow. |
Workbook |
Prints the name of the workbook. |
Workbook |
Prints the file path of the workbook. |
Worksheet |
Prints the name of the worksheet. |
#Methods
Name | Description |
---|---|
Body |
Returns the format code that prints the characters by using the minor theme font and the specified font style. |
Custom |
Returns the header and footer code that prints the page number plus/minus the specified number. |
Custom |
Returns the header and footer code that prints the total number of pages plus/minus the specified number. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Font |
Prints the characters using the specified font. |
Font |
Obtains the formatting code that sets the text font color. |
Font |
Obtains the formatting code that sets the text font color. |
Font |
Obtains the format code that sets the text font size. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Headings |
Returns the format code that prints the characters by using the major theme font and the specified font style. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
To |
Returns a string that represents the current object. Inherited from Object. |
See Also