Group: microsoft.public.word.vba.general
From: "Graham Mayor"
Date: Monday, March 03, 2008 5:48 AM
Subject: Re: Delete any leading (redundant) spaces after tab of built-in-heading styles


> thanks for your quick help. I am getting an error message, telling me
> that this expression is not working (on the search and replace dialog
> field). I altered the expression to
> (^t) {1,} and replaced it with ^t . Now it works but it does not find
> the tabs followed by spaces on the built-in headings (heading 1,
> heading 2, heading 3). May be it cannot find tabs before the built-in
> headings since the tab ist part of the underlying field of the
> heading. I hope I made myself clear.
>
> Regards, Andreas

My guess is that you have the regional settings in Windows to something
other than English. eg if you have the regional settings set to Germany, the
comma in {1,} will throw an error - use a semi colon {1;} instead.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Safety Articles | Usenet Groups | Usenet News | Bluegrass