Hi there, I use an Access database to merge client information to a number of letters. I select multiple records in access, and the merge outputs to one large document, that has a letter on each page. I have a macro to split the document into individual
ones, but I want to use the "permit number" in the document name. The permit number is formatted with a forward slash (i.e. #100/15), and so it can't be saved as a file name. I tried to mask the permit number when merging to replace the "/" with "-" and that
didn't work. So now I just want to write a new macro to loop through the top section of the document and remove the "/" in two places, but leave any other slashes in the rest of the letter as is.
So the question: How do I loop through a multi-page document, where I find and replace the "/" with "-" in a selection on each page? Is this doable? If so, how?
The point is do have this done in one click, I don't want to have to do it manually, it takes to long when I have 100+ letters to do each week.
Thanks in advance for the help!