I have a script that adds XML tags and I want to be able to know whether the paragraph has a bookmark at the start of it.
I'm working in Windows with VBA and if I get the AscW (the Unicode character code) of the first character in the paragraph it returns -257 for a bookmark. The trouble is it also returns that for the start or end of an XML tag.
I've checked the idSpecialCharacters enumeration but I don't see anything there. I also tried searching for a bookmark but I don't see anyway to do that even manually.
Is there a way to determine what the special thing is in a script?
Thanks,
Ken