Macro Problem

J

John Picton

Hi all,

I am having a problem with storing a macro in MS WORD.

It is a fairly short macro that is to strip unwanted paragraph markers
from text files downloaded from Project Gutenberg so I can convert
them to .lit format.

The macro is as follows:

Edit/replace
In find box "^p^p"
in replace box "zyzy"
Click on replace all
Change find box to "^p"
Change replace box to " "
Click on replace all
Change find box to "zyzy"
Change replace to "^p^p"
Click on replace all
then close and then save the macro.

Trouble is the macro works fine until I close the document and then
restart Word. Every time I try to run the macro I get the error
message - Sub or Function not defined -

I have just found out that this is the same for any macro I write.

I have made sure that the macro is set to be strored i normal.doc

Any ideas?

Cheers

John
 

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