View Single Post
 
Old 01-18-2019, 05:19 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

You may need to add more characters (e.g. <>\/?*&^%$#@~) to the exclusions list. Alternatively, you might change:
Code:
If Asc(.Words(i).Characters.First) < 128 Then
to:
Code:
If ((Asc(.Words(i).Characters.First) > 64) And (Asc(.Words(i).Characters.First) <91)) Or ((Asc(.Words(i).Characters.First) > 96) And (Asc(.Words(i).Characters.First) <123))Then
in which case, you could delete:
|,|.|!|:|;|<|>|(|)|{|}|{|}
from:
Const StrExcl As String
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote