T
Tomcat
Hi Group:
I am the NameLocal of the Paragraph Style in the TOC to determine the level of the TC item. the code looks like ActiveDocument.TableOfContent(1).Paragraphs[1].style.NameLocal. for most documents it returns something like "TOC 1", "TOC 2" ... I use the number at the end of the string as TC level. but one of my document returns something like "Heading 2", "Heading 3". Is there any work around? and what cause this to happen?
thanks
Tomcat.
I am the NameLocal of the Paragraph Style in the TOC to determine the level of the TC item. the code looks like ActiveDocument.TableOfContent(1).Paragraphs[1].style.NameLocal. for most documents it returns something like "TOC 1", "TOC 2" ... I use the number at the end of the string as TC level. but one of my document returns something like "Heading 2", "Heading 3". Is there any work around? and what cause this to happen?
thanks
Tomcat.