[HeaderFooterCommandType enumeration Represents the command type of header and footer. Values Name Value Description Text 0 The text. CurrentPage 1 Current page number Pagecount 2 Page count CurrentDate 3 Current date CurrentTime 4 Current time SheetName 5 Sheet name FileName 6 File name without path FilePath 7 File path without file name Picture 8 Picture]