Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2019, 03:50 AM
tropaj tropaj is offline Footer: chapter and section names Windows 10 Footer: chapter and section names Office 2007
Novice
Footer: chapter and section names
 
Join Date: Nov 2017
Posts: 11
tropaj is on a distinguished road
Default Footer: chapter and section names

My book, which I am writing in word, has several chapters, and under each chapter there are several major sections.




I dont know much about footer design so i am using a preformatted one.



But it displays two fields, one is the file name, and then, it displays the chapter name.


I do not want to see the file name, and I know how to delete it... That is fine..



but instead of the file name, I want the section name to appear. And chapter name is ok to show.



Alternatively I can just show the chapter name at the footer and section name at the header or vice versa. But I do not know how to display the section name. That is the problem. How can I make section name to show in header or footer?


If it matters, the chapter names are with Header 1 formatting. Section names are with header 2 formatting, a little smaller. I can make adjustments to these, what matters is ,that the chapter name and section name , whereever I am at, be displayed automtically
Reply With Quote
  #2  
Old 05-21-2019, 04:50 AM
macropod's Avatar
macropod macropod is offline Footer: chapter and section names Windows 7 64bit Footer: chapter and section names Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

Simply insert two StyleRef fields into the header or footer, one referencing the 'Heading 1' Style, the other referencing the 'Heading 2' Style.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 05-21-2019, 05:25 AM
Charles Kenyon Charles Kenyon is offline Footer: chapter and section names Windows 10 Footer: chapter and section names Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Here is more on the StyleRef field.
StyleRef Field
Reply With Quote
  #4  
Old 05-21-2019, 12:54 PM
tropaj tropaj is offline Footer: chapter and section names Windows 10 Footer: chapter and section names Office 2007
Novice
Footer: chapter and section names
 
Join Date: Nov 2017
Posts: 11
tropaj is on a distinguished road
Default

It worked thanks . I am now including the chapter and then near that the section.




And, one more thing.... Many sections ( but not all) have also their own subsections, which are header 3.


so chapters (heading 1) - main sections (heading 2) are fine






But if I also want to include header 3 sections, (which means subsections to main sections) then when I move on to the next header 2 main section, it still displays the header 3 from previous header 2 section, if there is no new header 3 section. is there a way to fix it?
Reply With Quote
  #5  
Old 05-21-2019, 03:20 PM
macropod's Avatar
macropod macropod is offline Footer: chapter and section names Windows 7 64bit Footer: chapter and section names Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

The simplest solution would be to insert an empty paragraph on the 'Heading 3' Style at the start of the Section, perhaps formatting it as hidden text.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 05-21-2019, 11:31 PM
tropaj tropaj is offline Footer: chapter and section names Windows 10 Footer: chapter and section names Office 2007
Novice
Footer: chapter and section names
 
Join Date: Nov 2017
Posts: 11
tropaj is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
The simplest solution would be to insert an empty paragraph on the 'Heading 3' Style at the start of the Section, perhaps formatting it as hidden text.
thanks, this works also, which I will do, if there is no other way.



I say other way because this is not very automatic, which requires me to go to all those pages one by one and do it (plus same thing happens for heading 2 too, which I just checked)



is there a way to automatically do it in the footer, may be such as by writing a formula etc?
if not, that is fine, i can apply this solution too. This was good enough....
Reply With Quote
  #7  
Old 05-22-2019, 05:15 AM
Charles Kenyon Charles Kenyon is offline Footer: chapter and section names Windows 10 Footer: chapter and section names Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

See:
Reply With Quote
  #8  
Old 05-22-2019, 03:56 PM
Guessed's Avatar
Guessed Guessed is offline Footer: chapter and section names Windows 10 Footer: chapter and section names Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

If both your StyleRef styles are numbered as part of the same outline number list then there is a way of nesting fields to achieve this. It works by comparing the autonumbers on the headings.

Let's assume that you are including Heading 1 on all pages and Heading 2 only if it sits under that particular Heading 1 level.
Set up the fields like this: the second one is nest of 4 fields.
{StyleRef "Heading 1"} - {If{StyleRef "Heading 2" \n} > {StyleRef "Heading 1" \n} {StyleRef "Heading 2"} ""}
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Footer: chapter and section names add entire chapter of red underlined biblical names into Word dictionary PegOmyheart Word 1 12-18-2017 01:12 PM
Footer: chapter and section names 1n 2013 desktop: section names Angry Thinker OneNote 3 05-25-2015 04:33 AM
Footer: chapter and section names Footer and Section Problem andytheanimal Word 4 10-06-2014 01:14 AM
Footer TypeDef Stops After Chapter 14 SQLUSA Word 2 08-15-2012 12:51 AM
Footer: chapter and section names Each section create different footer SDondeti Word VBA 1 05-18-2011 02:40 PM

Other Forums: Access Forums

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


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