Thanks, I thought I posted a solution to this when I marked it solved.

Anyway, the strange behavior is a bit complicated to describe. I have several chapters, each with their own document. The longer chapters have a bookmark TOC. The user chooses which chapters to include in the Plan. The macro goes through the user's choices and then inserts them into the Plan with Selection.InsertFile.

Most of the time that works fine. However, randomly it seems, after the chapter is inserted, the TOC loses its formatting. The tab setting is eliminated (reverts to the default 0.5) and the dotted tableader disappears.

So, I was trying to reformat the TOC after the chapter is inserted and I couldn't find a way to do the tableader until I found

Dim aTOC As TableOfContents
For Each aTOC In ActiveDocument.TablesOfContents
aTOC.TabLeader = wdTabLeaderDots
Next