I am trying to retrieve TOC items without having to go through hoops with String split.
I can get the all the TOC item using
Dim rawToc As String = aDoc.TablesOfContents(1).Range.Text.ToString
But i am sure there is a better way by which i can get each TOC item individually.
Any pointers would be appreciated!