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
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