Set the .Find.MatchCase property to False. For an example, look in the
VBA help topic on the MatchCase property.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
>Hi All
>
[quoted text clipped - 4 lines]
>
>Thanks in advance
Sydney - 20 Mar 2006 06:30 GMT
Thanks
> Set the .Find.MatchCase property to False. For an example, look in the
> VBA help topic on the MatchCase property.
[quoted text clipped - 14 lines]
> >
> >Thanks in advance
Sydney - 20 Mar 2006 23:39 GMT
Hi
This only seems to applicable to the Find property is this right? I cant
use it when searching for bookmarks, eg
For Each myBookmark In ActiveDocument.Bookmarks
MatchCase = False
If myBookmark.Name = "test1" Then
do this
end if
Any ideas would be greatly appreciated.
> Set the .Find.MatchCase property to False. For an example, look in the
> VBA help topic on the MatchCase property.
Regards,
Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.
> >Hi All
> >
[quoted text clipped - 4 lines]
> >
> >Thanks in advance
Robert Paulsen - 21 Mar 2006 02:38 GMT
You can use the LCase or UCase method to change the name to lower or upper
case:
If LCase$(myBookmark.Name) = "test1" Then
> Hi
>
[quoted text clipped - 28 lines]
> > >
> > >Thanks in advance