Thanks. It works. Also, I was determining this for the insertion point or the
start of the range. The trick was to find this table in the first place.
However, it seems different than what I was expecting. I used the .Selection
information to see if either the Table.Count or Fields.Count equaled 1. In
both cases, the count was zero.
> Dim pField as Word.Field
> Dim pTOC as Word.Range
[quoted text clipped - 17 lines]
>
> > How do tell if the insertion point in a table of contents (TOC)?
Jezebel - 23 Oct 2005 00:14 GMT
Table.Count returns zero because a TOC is not a "table" (of the sort that
you get from Table > Insert). I don't know why Fields.Count returns zero in
this case.
It doesn't help here, but the Information() function tells you if the
insertion point is within a true table.
> Thanks. It works. Also, I was determining this for the insertion point or
> the
[quoted text clipped - 26 lines]
>>
>> > How do tell if the insertion point in a table of contents (TOC)?