CaptainCsaba
Board Regular
- Joined
- Dec 8, 2017
- Messages
- 78
Hey Everyone!
I have a macro which uses "find and replace" with wildcards to change a few paragraphs of text on each page. There are many wildcards in it, but mostly ^13 which is the paragraph break.
At the end of the macro it generates a separate PDF file of every page. For each page it uses the the first paragraph as the file name. If I dont run the code with the wildcard find and replace it runs just fine and it creates the PDFs with the appropriate names. However If I Use the find and replace it includes all the lines I replaced int he file name.
It is a if ^13 and the regular "ENTER" button are not the same thing because if I replace it with a manual enter it runs fine. What is the problem?
I have a macro which uses "find and replace" with wildcards to change a few paragraphs of text on each page. There are many wildcards in it, but mostly ^13 which is the paragraph break.
At the end of the macro it generates a separate PDF file of every page. For each page it uses the the first paragraph as the file name. If I dont run the code with the wildcard find and replace it runs just fine and it creates the PDFs with the appropriate names. However If I Use the find and replace it includes all the lines I replaced int he file name.
It is a if ^13 and the regular "ENTER" button are not the same thing because if I replace it with a manual enter it runs fine. What is the problem?