Run-Time Error-5624

R

Renjith

Hi,

I am using MS word 2003 with Special Pack1. When I run the following code,
Word is giving me Run-Time error 5624 with no description provided. The code
is,

selection.find.Execute(FindText:="^$. ^?", replacewith:="^$. ^?",
Replace:=wdReplaceAll)

Please help me.
 
R

Renjith

I want to replace the single space with double space after each full stop.

Thanks in advance for your help.

Jezebel said:
You can't use ^$ or ^? in the replace string. What are you trying to do?
 
D

Doug Robbins

See the article "Finding and replacing characters using wildcards" at:

http://word.mvps.org/FAQs/General/UsingWildcards.htm


--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
Renjith said:
I want to replace the single space with double space after each full stop.

Thanks in advance for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top