Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-29-2020, 12:53 AM
RAFCRIK RAFCRIK is offline Use StyleRef based on previous page - IF this-and-that Windows 10 Use StyleRef based on previous page - IF this-and-that Office 2016
Novice
Use StyleRef based on previous page - IF this-and-that
 
Join Date: Aug 2020
Posts: 6
RAFCRIK is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
You might want to start using Page Break Before formatting for that style so it will always be the first line of a page.
No, that's not the result I'm looking for. I want the header to reflect the number of the chapter to which the first line of the page belongs to.
Unless that first line is in itself a heading 1 or 2 (which means the first line of "real" text belongs to the chapter of said heading).

Actually there are a couple of things I would want to combine. For that to work, they must of course be possible on their own...
  1. Is it possible to create some kind of "IF" formula in which the criterion is that the first line of a page is in a certain style?
  2. Is it possible to somehow (maybe using Visual Basic?) get {STYLEREF "Kop 1;REGEL;Rule" \n \t} of "PAGE -1"?
  3. If #2 is possible, is it possible to run this "formula" on every instance of e.g. "$". A "replace all" if you will.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto fill based on previous entry geojf3 Word VBA 6 11-25-2019 06:49 AM
Start page numbering on second page ("link to previous" is greyed-out) seanspotatobusiness Word 1 07-11-2018 10:33 AM
Use StyleRef based on previous page - IF this-and-that Table on top of page breaks the paragraph on previous page iffee82 Word Tables 18 05-10-2018 02:44 AM
Use StyleRef based on previous page - IF this-and-that Table adding cells to previous page with room still on current page. gedet Word 1 01-03-2018 10:35 AM
Use StyleRef based on previous page - IF this-and-that MS Word, page goes to next page when entering data on previous page munna94 Word 2 12-30-2010 08:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:00 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