Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2014, 01:50 PM
GregCFII GregCFII is offline TOC hyperlinks and bookmarks. Windows 7 64bit TOC hyperlinks and bookmarks. Office 2007
Novice
TOC hyperlinks and bookmarks.
 
Join Date: Feb 2014
Posts: 7
GregCFII is on a distinguished road
Default TOC hyperlinks and bookmarks.

Can anyone show me the way? I have a TOC inserted, 2 levels based on HDG1 and HDG2. They represent Parts and Chapters. So far, it's looking fine, but I have more need if I can do it. I want no page number on HDG1 Part X and -- the big one I think -- I'd like a bookmarked text inserted beside the Part/Chapter. Example: Part 1: the beginning and Chapter 1: it all started here.



All the switch code I can find begins { TOC \b Chapter1 \h \z \u \t ...

My toggled code so far is { HYPERLINK \L "_Toc381364723" That makes sense to me, but doesn't square with all the examples of switches I find around.

How do I use the switches? And can I insert text alongside with a book mark (or am I only able to type it in with a switch)?

Any help is appreciated.
Reply With Quote
  #2  
Old 02-28-2014, 02:40 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline TOC hyperlinks and bookmarks. Windows 7 64bit TOC hyperlinks and bookmarks. Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 4,005
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

To add text (to the TOC) that isn't present in the main body of the document, you can use a TC field. To exclude the page number for an individual entry, add the \n switch to the TC field. For more, see http://wordfaqs.mvps.org/TOCTips.htm.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #3  
Old 02-28-2014, 03:41 PM
GregCFII GregCFII is offline TOC hyperlinks and bookmarks. Windows 7 64bit TOC hyperlinks and bookmarks. Office 2007
Novice
TOC hyperlinks and bookmarks.
 
Join Date: Feb 2014
Posts: 7
GregCFII is on a distinguished road
Default

Thanks for the response. I found that earlier and couldn't make sense of it since my toggled code has "hyperlink" first inside the braces and all those examples start with "TOC." I am really confused. Do I ignore the hyperlink term and the '\l "_Toc...' ?
Reply With Quote
  #4  
Old 03-01-2014, 10:57 AM
GregCFII GregCFII is offline TOC hyperlinks and bookmarks. Windows 7 64bit TOC hyperlinks and bookmarks. Office 2007
Novice
TOC hyperlinks and bookmarks.
 
Join Date: Feb 2014
Posts: 7
GregCFII is on a distinguished road
Default No joy yet.

None at all. I've pored over TOC Tip and Tricks and cannot make it work.

I have attached a doc showing my need.
1. inhibit the contents line so it doesn't show during update.
2. pull the bookmarked part titles onto the line "Part x."
3. pull the bookmarked titles on the line "Chapter x."
4. inhibit page numbering for the Part x items only.

I have been having problems getting switches to work in my field codes. It's my first attempt. My chapters are bookmarked C01,C02, etc. The parts are P01,P02, etc. Seems simple enough.

Any help will be appreciated.
Attached Images
Attached Files
File Type: pdf scan0001.pdf (409.0 KB, 14 views)
Reply With Quote
  #5  
Old 03-01-2014, 02:01 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline TOC hyperlinks and bookmarks. Windows 7 64bit TOC hyperlinks and bookmarks. Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 4,005
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

For the "Part" sections, use a TC field. The text within quotation marks determine what the field displays. You can use \L followed by a number (between 1 and 9) to specify a level in the TOC; by default, level 1 is being used. The \n switch omits page numbers. To the TOC field code, add the \f switch.

I'm attaching a simple example where the chapters have been created with the built-in headings and the Parts are added with TC fields. I'm using a custom style called Part Style to format the text added.

To show/hide the TC fields, show/hide hidden text (which you can do by clicking the ¶ button on the Home tab). To show/hide the a large number of other fields, including the TOC field, use Alt+F9.
Attached Files
File Type: docx simple example.docx (13.3 KB, 19 views)
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional

Last edited by Stefan Blom; 03-01-2014 at 04:30 PM.
Reply With Quote
  #6  
Old 03-01-2014, 03:14 PM
GregCFII GregCFII is offline TOC hyperlinks and bookmarks. Windows 7 64bit TOC hyperlinks and bookmarks. Office 2007
Novice
TOC hyperlinks and bookmarks.
 
Join Date: Feb 2014
Posts: 7
GregCFII is on a distinguished road
Default

Thanks, Stefan. Here's what I tried:

{TC "Part I: The Beginning" \L 1 \n}Part I

I F9 to save it.
My TOC toggles to one line (looks like the TOC code)
When I toggle it back, either my Part one is as it was or still in code form.
I tried toggling to hide code and the whole thing reduces to one coded line again.

What am I doing wrong? I cannot see it. I know this should be simple -- it's only code, but something here isn't allowing it's proper use.

Thanks,
Greg
Reply With Quote
  #7  
Old 03-02-2014, 06:43 AM
GregCFII GregCFII is offline TOC hyperlinks and bookmarks. Windows 7 64bit TOC hyperlinks and bookmarks. Office 2007
Novice
TOC hyperlinks and bookmarks.
 
Join Date: Feb 2014
Posts: 7
GregCFII is on a distinguished road
Default

No joy still. I'm just going to type it in a table. I'll revisit when I have another need.

Thanks so much for the help. It's good to have you guys here.

Greg
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC hyperlinks and bookmarks. Bookmarks in hyperlinks disappeared - HELP!!! Marcebrown PowerPoint 5 03-02-2014 09:13 AM
Can't See Bookmarks bobmayo Word 21 06-04-2013 07:37 AM
TOC hyperlinks and bookmarks. Linking to Bookmarks savo Word 6 04-11-2013 11:04 AM
TOC hyperlinks and bookmarks. Table of Bookmarks Niy Word 3 03-28-2012 12:18 AM
Bookmarks for a PDF? Ownaholic Word 0 10-30-2010 12:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:16 PM.


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