Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 04-30-2014, 12:26 AM
macropod's Avatar
macropod macropod is offline I need to select the first instance of a specific para style Windows 7 32bit I need to select the first instance of a specific para style Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In that case, you can still control the page numbering for the body fairly easily, starting with a template that has the layout described in my previous post. What you can do is:
1. In the first section (front matter) header, insert a field coded as:
{SET Front {SECTIONPAGES \* Arabic}}
2. In the last section (appendices) header, insert a field coded as:
{SET Back {SECTIONPAGES \* Arabic}}
3. For the body numbering, use a field coded as follows for the 'Y' part of the 'Page X of Y' numbering:
{={NUMPAGES}-Front-Back \# 0}
That way, regardless of how many Section breaks the body has, its body will always have the correct 'Page X of Y' numbering.

Note: The field brace pairs (i.e. '{ }') for the above examples are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find instance of a word in a specific style and change its color hwg Word VBA 7 02-20-2014 10:59 PM
Select specific pages to print or save Jack Byrindi Word VBA 0 01-16-2014 03:14 PM
How to set style automatically for specific texts ragesz Word 2 07-25-2013 07:08 AM
I need to select the first instance of a specific para style Macro to replace one specific heading style with another ubns Word VBA 44 09-04-2012 08:17 PM
Don't add space between para of the same style ghumdinger Word 3 09-19-2011 02:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft