Send Topics To... in order to Microsoft Word
Answered
How do I send selected (right-click Send Topic(s) to Word) topics to Microsoft Word and have them appear in the Word document in order. I know that if I do a conventional export of the map to Word, will work. But the order is Not maintained when using the Send Topics to Word on selected topics.
Can anybody give me direction as to whether or not there is a VBA object ID number of some kind that points to a topic's numerical position within a map?
Hello Michael. I don't know the answer to the first question. But regarding topic IDs, I believe the full topic collection returned by Document.Range(mmRangeAllTopics) is in the order that the topics were created, which is not very useful. There is no built-in map order coded on the topics themselves, and the Guid gives no clue. But if you are prepared to apply topic numbering in the map, you could read the numbering prefix from topics using Topic.Title.GetDisplayText(MmDisplayTextFlags.mmDisplayTextNumberPrefix) and use that to sort into map order.
Hello Michael. I don't know the answer to the first question. But regarding topic IDs, I believe the full topic collection returned by Document.Range(mmRangeAllTopics) is in the order that the topics were created, which is not very useful. There is no built-in map order coded on the topics themselves, and the Guid gives no clue. But if you are prepared to apply topic numbering in the map, you could read the numbering prefix from topics using Topic.Title.GetDisplayText(MmDisplayTextFlags.mmDisplayTextNumberPrefix) and use that to sort into map order.
---