Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WORD 2002: Incorrect Page numbers in IF statement

Status
Not open for further replies.

vietnam97

Programmer
Sep 18, 2000
48
0
0
I use the following logic in the footnote section of my
mail merge document and it works fine in WORD 97. However
when I run in WORD 2002, the page numbers were wrong for
all the pages in the document. The page number was set to
3 for all the sections that have the page number field
inserted. It should have incremented on each page, but it
didn't.

{ MERGEFIELD FormNumber }{ IF { MERGEFIELD CustomSuffix }
= "No Page" "" "-{ PAGE }"}{ MERGEFIELD Section5Suffix }

Thanks,
Bao
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top