Thread: Delete text
View Single Post
 
Old 01-01-2011, 09:18 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Hi Michael,

That error suggests your PC isn't configured with English-language settings. In that case, you need to change:
.Text = "([^13]{2}[!^13]{1,})^13"
to:
.Text = "([^13]{2}[!^13]{1;})^13"
(note the ',' changed to ';')
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote