Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-10-2016, 12:32 PM
Rogrand
Guest
 
Posts: n/a
Default TOC will only show "TOC \o "1-3" \h \z \u "

When selecting a word and selecting the Heading 1 or Heading 2, generating the TOC yields no table instead I get:



Contents
{TOC \o "1-3" \h \z \u}

See screenshot.

I don't even know how to describe it when searching for a solution. Made it very frustrating.

It was working prior to me working with Indexing.

Had open a brand new word doc and looks like TOC broke.

I am using 2013 office
Attached Images
File Type: png TOC.png (3.9 KB, 35 views)
Reply With Quote
  #2  
Old 03-10-2016, 03:05 PM
Charles Kenyon Charles Kenyon is offline TOC will only show  "TOC \o "1-3" \h \z \u " Windows 8 TOC will only show  "TOC \o "1-3" \h \z \u " Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,464
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

Press Alt+F9
Reply With Quote
  #3  
Old 03-30-2017, 06:11 PM
dwolovi dwolovi is offline TOC will only show  "TOC \o "1-3" \h \z \u " Windows 10 TOC will only show  "TOC \o "1-3" \h \z \u " Office 2016
Novice
 
Join Date: Mar 2017
Posts: 1
dwolovi is on a distinguished road
Default

I am getting the same message, only weirder. I have 11 separate documents (chapters in a book). I followed the instructions to create a TOC in a separate document linked to all 11. It works fine except chapter 9 gives me this message. There is nothing different about chapter 9. When I copy chapter 9 I can create a TOC within the copy, so I think there is nothing wrong with the data in the chapter itself.
Reply With Quote
  #4  
Old 03-30-2017, 09:41 PM
macropod's Avatar
macropod macropod is offline TOC will only show  "TOC \o "1-3" \h \z \u " Windows 7 64bit TOC will only show  "TOC \o "1-3" \h \z \u " Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
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

Quote:
Originally Posted by dwolovi View Post
It works fine except chapter 9 gives me this message.
One wonders, then, if someone has simply typed the field construction for chapter 9.

If you're seeing something like {TOC \o "1-3" \h \z \u} instead of a field's result, that's because you have Word's field code display toggled 'on'.

Pressing Alt-F9 toggles Word's field code display on/off. See also File|Options|Advanced>Show document content>Show field codes instead of their values.

If pressing Alt-F9 has no effect, it's most likely not a field you're seeing, but some text typed to look like a field.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 05-14-2024, 01:19 PM
claudio.jc.lima claudio.jc.lima is offline TOC will only show  "TOC \o "1-3" \h \z \u " Windows 11 TOC will only show  "TOC \o "1-3" \h \z \u " Office 2021
Novice
 
Join Date: May 2024
Posts: 1
claudio.jc.lima is on a distinguished road
Default

Paul,

All of a sudden {TOC \o "1-3" \h \z \u} was displaying on all my files.
I knew it should be a field code, but had no idea was happening.

You saved my day!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show "Names" only of people I'm allowed to "Send As" ravl13 Outlook 0 02-11-2016 12:44 PM
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas jocke321 Word VBA 2 12-10-2014 11:27 AM
How to edit the "Format" and the "show level" of an EXISTING table of content? Jamal NUMAN Word 2 08-14-2011 10:46 AM
TOC will only show  "TOC \o "1-3" \h \z \u " How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM
How to add a "note" which is "active" when doing a powerpoint show Anders PowerPoint 0 01-22-2011 08:47 AM

Other Forums: Access Forums

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