ExcelHeaderFooter Fields

Office Open XML

The ExcelHeaderFooter type exposes the following members.

Fields

  NameDescription
CurrentDate
The code for "date"
CurrentTime
The code for "time"
FileName
The code for "this workbook's file name"
FilePath
The code for "this workbook's file path"
FontColor
The code for "text font color" RGB Color is specified as RRGGBB Theme Color is specified as TTSNN where TT is the theme color Id, S is either "+" or "-" of the tint/shade value, NN is the tint/shade value.
Image
The code for "picture as background"
NumberOfPages
The code for "total pages"
OutlineStyle
The code for "outline style"
PageNumber
The code for "current page #"
ShadowStyle
The code for "shadow style"
SheetName
The code for "sheet tab name"

See Also