I want to be able to read the current paragraph number of a selection in a VBA routine. The purpose is to create a kind of index listing, whereby certain formatting is found and the text and paragraph number are stuffed into a separate document.
I've been trying Range.ListFormat.ListLevelNumber, but that seems simply to return 1 for the first para in the range (even if that para is numbered 47 in the document).
It's driving me mad. Any suggestions?
I've been trying Range.ListFormat.ListLevelNumber, but that seems simply to return 1 for the first para in the range (even if that para is numbered 47 in the document).
It's driving me mad. Any suggestions?