G
Guest
Hi,
I am trying to read ThisDocument.Range.Sentences, to process all the
sentences in a document. But when the text contains a ".," that is a full
stop followed by a comma, as in the following situations - "ABC & Co.," Word
object model does not recognize the text properly. For example,
Thank you for contacting ABC &Co., and we hope that our association will be
mutually profitable and beneficial.
Now when I read the sentences, I find that "," and ", and we hope that our
association will be mutually profitable and beneficial." are returned as the
two sentences contained. I presume this is a bug with the Object model. Have
anybody else encountered a similar situation?? Can somebody help me out
here.
Note: I am using Word 2003.
Thanks in advance,
Thanks and Regards,
Laks
I am trying to read ThisDocument.Range.Sentences, to process all the
sentences in a document. But when the text contains a ".," that is a full
stop followed by a comma, as in the following situations - "ABC & Co.," Word
object model does not recognize the text properly. For example,
Thank you for contacting ABC &Co., and we hope that our association will be
mutually profitable and beneficial.
Now when I read the sentences, I find that "," and ", and we hope that our
association will be mutually profitable and beneficial." are returned as the
two sentences contained. I presume this is a bug with the Object model. Have
anybody else encountered a similar situation?? Can somebody help me out
here.
Note: I am using Word 2003.
Thanks in advance,
Thanks and Regards,
Laks