View Single Post
 
Old 03-13-2014, 09:46 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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

Assuming this is all for VBA -
1. You could use a wildcard Find/Replace, where:
Code:
.Text = " ([0-9]@:)"
.Replacement.Text = "\1"
2. You could use a wildcard Find/Replace, where:
Code:
.Text = "(?)([\\/\?])"
.Replacement.Text = "\2\1"
3. You could use a wildcard Find, where:
Code:
.Text = "[" & ChrW("&HXXXX") & "-" & ChrW("&HYYYY") & "]"
and the XXXX and YYYY are the Unicode value of the characters at each end of the range. You can see what these are via Insert|Symbol.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote