HotXLS Docs

CenterHeader property

Returns or sets the center part of the header. Read/write WideString

Syntax

property CenterHeader: WideString;

Description

Special format codes can be used in the header text

Example

This example prints the date and page number at the top of each page

Workbook.Sheets[1].PageSetup.CenterHeader := '&D page &P of &N';