Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2014, 09:04 PM
peytontodd peytontodd is offline How remove colon ':' from my chapter references? Windows 7 64bit How remove colon ':' from my chapter references? Office 2007
Advanced Beginner
How remove colon ':' from my chapter references?
 
Join Date: Dec 2012
Location: Atlanta, GA
Posts: 47
peytontodd is on a distinguished road
Default How remove colon ':' from my chapter references?

I have a large document (146 pages) with chapter headings that look like this:



Chapter 1: Introduction
Chapter 2: Plan of the Book

etc.

Somehow (my aging memory has forgotten how), I set it up so that when I insert a cross-reference to a chapter number, it inserts, e.g., "Chapter 1:", or "Chapter 2:". That is, it keeps the word "Chapter" and the number of the chapter as I wish, but it also brings in the colon, which I do not want. I remember that I was able to set the thing up somehow in two parts so that the word "Chapter would be included, but I forgot what I did.

I'd be quite satisfied if such references returned only the number and I'd just type the word "Chapter" myself if that's easier.

Thanks
Reply With Quote
  #2  
Old 01-27-2014, 08:24 AM
JimP JimP is offline How remove colon ':' from my chapter references? Windows 7 32bit How remove colon ':' from my chapter references? Office 2010 32bit
Experienced User
 
Join Date: Jun 2010
Location: Virginia Beach, VA
Posts: 742
JimP will become famous soon enough
Default

If you are wanting to keep the word "Chapter" & numbering (just deleting the colon) you would want to modify the numbering style you are using (i.e., Heading 1) via the "Define New Number Format" dialog box. To get that (1) right-click on the Style in use to get the Modify Style dialog box; (2) Click on "Format" then "Numbering" to get the Numbering and Bullets dialog box; (3) click on "Define New Number Format" to get the dialog box; then (4) modify the "Number format:" to what you want.

You indicated that it now reads Chapter 1: etc. If that is true, that is what appears in the "Numbering format:" area. Simply change it to "Chapter 1" [without changing the default "1"] (or, however you want it to appear as). Click "OK" out of the menu's.

Hope this helps...
Reply With Quote
  #3  
Old 01-27-2014, 12:26 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline How remove colon ':' from my chapter references? Windows 7 64bit How remove colon ':' from my chapter references? Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,871
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

You can add the \t switch to a cross-reference (REF) field in order to suppress non-delimiter characters, such as "Chapter" in your example, but this doesn't work for the colon, unfortunately.

Instead you will have to edit the numbering scheme and remove the colon, as JimP suggested.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #4  
Old 01-27-2014, 09:48 PM
peytontodd peytontodd is offline How remove colon ':' from my chapter references? Windows 7 64bit How remove colon ':' from my chapter references? Office 2007
Advanced Beginner
How remove colon ':' from my chapter references?
 
Join Date: Dec 2012
Location: Atlanta, GA
Posts: 47
peytontodd is on a distinguished road
Default

Thanks, that certainly improves matters. What I would really like, though, is for the colon to appear in the chapter titles themselves, just not in the references to them. This would be possible if I could place a colon immediately after the number in each chapter heading, although not in the definition of the heading itself. Currently, however, my Heading 1 has spaces after the number and I can't get the colon right next to it. I was unable to figure out a way to remove these spaces...
Reply With Quote
  #5  
Old 01-28-2014, 05:36 AM
JimP JimP is offline How remove colon ':' from my chapter references? Windows 7 32bit How remove colon ':' from my chapter references? Office 2010 32bit
Experienced User
 
Join Date: Jun 2010
Location: Virginia Beach, VA
Posts: 742
JimP will become famous soon enough
Default

Quote:
Originally Posted by peytontodd View Post
What I would really like, though, is for the colon to appear in the chapter titles themselves, just not in the references to them.
That is not what your original post indicated. However, assuming your "just not in reference to them" comment, I have to assume you are referring to the TOC. If that is the case, what you are asking for is not possible. When you set up your style the colon is either going to be part of the style...or, it is not. And, once you set your style, you cannot edit the heading line to include a colon elsewhere within that style.

Quote:
Originally Posted by peytontodd View Post
my Heading 1 has spaces after the number and I can't get the colon right next to it. I was unable to figure out a way to remove these spaces.
Again, once you set your style, you cannot edit the heading line to include a colon elsewhere within that style.

Now, other posters may have other solutions. If so, I am sure they will post accordingly.
Reply With Quote
  #6  
Old 01-28-2014, 06:46 AM
peytontodd peytontodd is offline How remove colon ':' from my chapter references? Windows 7 64bit How remove colon ':' from my chapter references? Office 2007
Advanced Beginner
How remove colon ':' from my chapter references?
 
Join Date: Dec 2012
Location: Atlanta, GA
Posts: 47
peytontodd is on a distinguished road
Default

Sorry I wasn't clear. No, I don't mean the table of contents, or at least not specifically that. I mean the headings as they appear in the document, which - yes - do appear as is in the table of contents.

I'm not talking about editing the style to include a heading somewhere within it, but simply having the comma appear in the appropriate place in the headings as they appear on the page. In other words, the colon would be part of the text of the heading - the part that the style gets attached to. This could be done if I could get rid of the spaces at the end of the style.

As it is now (thanks to your help), if I type the line that will become the heading as ": Introduction", what I'll get when I apply the style to it is "Chapter 1 : Introduction". If I could get rid of the automatic spaces after the style, then I would have "Chapter 1: Introduction", in which only the part appearing in bold face belongs to the style.
Reply With Quote
  #7  
Old 01-28-2014, 07:20 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline How remove colon ':' from my chapter references? Windows 7 64bit How remove colon ':' from my chapter references? Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,871
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Are you now typing in the colon manually after the number? You can change the multilevel list so that it doesn't add any space after the paragraph/multilevel number. Click in the first Heading 1 paragraph of your list. Click Home tab | Multilevel List | Define New Multilevel List. In the dialog box, click More to see all options. In the preview picture, click level 1. In the "Follow number with" drop down, choose "Nothing." Click OK.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #8  
Old 10-25-2023, 07:13 PM
TrevorP TrevorP is offline How remove colon ':' from my chapter references? Windows 10 How remove colon ':' from my chapter references? Office 2021
Novice
 
Join Date: Oct 2023
Posts: 1
TrevorP is on a distinguished road
Default Remove colon or other trailing characters.

This additional information I'm providing years later may already be represented elsewhere in the forums, not sure ...

Once, years ago, having the same problem, I discovered that I could place my cursor before the colon and "delete" it right within the text as it appears on the page, however, if you right-clicked and did Update Field, the colon would return.

I found the better solution below, adding additional code at the end of the field, at the webpage Combine Cross-references

Adding an additional backslash (see below) with a hashtag followed by a space and then the number zero will cut off any trailing characters. For example ...

REF _Ref149150908 \r \t \# 0

Curiously, I found this solution years ago and I've just discovered that something has changed, I'm assuming in Word's programming ... entering the additional code works to permanently block additional characters still, however, if you close and then re-open the controls (right-click and Edit Fields), the "\# 0" is gone. It's still blocking additional characters, however, and so it still seems to be a solution, but there doesn't appear (on my system configuration and software versions) to be any trace of that truncation having been applied when viewing the code at a later date.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
aligning colon JRaul Word 4 07-07-2012 06:06 AM
Two Spaces After Colon in Word 2010 alpinegroove Word 2 03-01-2012 08:20 AM
how to have separate references in each chapter staphlee Word 1 11-06-2011 05:54 AM
How remove colon ':' from my chapter references? is it possibe to capitalize every letter after a "colon space" angeltread Word VBA 4 01-17-2011 03:50 PM
using odd-Even chapter footers with page number and chapter titles Fossils13 Word 0 07-17-2010 06:49 AM

Other Forums: Access Forums

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