Need to edge out the competition for your dream job? Train for certifications today.
Dim sec As Section
Dim fld As Field
For Each sec In ActiveDocument.Sections
For Each fld In sec.Footers(wdHeaderFooterPrimary).Range.Fields
If fld.Type = wdFieldNumPages Then
fld.Code.Text = Replace(fld.Code.Text, "NUMPAGES", "SECTIONPAGES", vbTextCompare)
Open in new window
This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
This course teaches how to install and configure Windows Server 2012 R2. It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).