View Single Post
 
Old 11-21-2018, 03:14 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,381
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by VBorNotVB View Post
I created a blank document, added the paragraph "This is a test.", and ran your routine. It reported it as having Unicode characters!
I forgot that a paragraph break would remain in the document. The 'If i > 0 Then' should have been 'If i > 1 Then'. Fixed.

Quote:
Originally Posted by VBorNotVB View Post
I know my routine is slow, worse yet using wdDialogInsertSymbol makes it even slower!
But I believe it's the only surefire way to catch Unicode characters.
My approach clearly demonstrates that is not so.
Quote:
Originally Posted by VBorNotVB View Post
As for testing for ASCII characters 0-127, the first 128 characters of Unicode are ACSII, but represented in long.
You still seem to be missing the point that ASCII characters 128-255 are no different in that regard.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote