Link to home
Start Free TrialLog in
Avatar of Andreas Hermle
Andreas HermleFlag for Germany

asked on

Replace numpages-field with a sectionpages-field in all footers of the active multi-section-document

Dear Experts:

I would like to run a macro with the following requirements. The macro is to run on the active multi-section document.

Replace the {NUMPAGES}-Field in the footer (wdheaderfooterprimary) with a {SECTIONPAGES}-Field

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Andreas Hermle

ASKER

Hi Graham,

as always from your side concise and working coding. Thank you very much for it.

Regards, Andreas
Great job. Thanx

Andreas
HI Andreas,
You're working late
G
It is fun to know that the things I will get work the way I want it, so anyime to retrieve the information is opportune ... upps I am not quite sure if this makes sense  ;-)
if it were anyone else, I would suspect that Gewürztraminer might be causing a problem.
laughing out loud roll on floor :-)