set_footer method

set_footer

Sets a script formatting the footer of an Excel file.

def set_footer(self, section, footer_script):
    ...
ParameterTypeDescription
sectionint0: Left Section, 1: Center Section, 2: Right Section.
footer_scriptstrFooter format script.

Remarks

Script commands:

CommandDescription
&PCurrent page number 
&NPage count 
&DCurrent date 
&TCurrent time
&ASheet name
&FFile name without path
&""Font name, for example: &“Arial”
&", "Font name and font style, for example: &“Arial,Bold”
&Font size. If this command is followed by a plain number to be printed in the header, it will be separated from the font height with a space character.
&KFont color, for example(RED): &KFF0000
&GImage script

For example: “&Arial,Bold&8Footer Note”

See Also