Code: Select all
XLS[SHEET].PrintSettings.HeaderFooter.OddHeader := '&[Page] of &[Pages]';
I have also tried:
Code: Select all
XLS[SHEET].PrintSettings.HeaderFooter.OddHeader := '\&\[Page] of \&\[Pages]';
Code: Select all
XLS[SHEET].PrintSettings.HeaderFooter.OddHeader := '&[Page] of &[Pages]';
Code: Select all
XLS[SHEET].PrintSettings.HeaderFooter.OddHeader := '\&\[Page] of \&\[Pages]';
Code: Select all
XLS[SHEET].PrintSettings.HeaderFooter.OddHeader := '&P of &N';