Excel header - total pages count.

Good day everyne,

have a small problem with Excel header.

When I export my information to Excel (this is customer requirement) I have to show current page number in Heder and Total pages count in this document.

my local variable for page header:

Invoice No. %1, page No. &P total pages &Pages

as you may guess, &P means current page number. And Excel shows it. But how do I show total pages count? &Pages doesn’t work.

Thanks