View Single Post
 
Old 09-08-2018, 06:14 PM
raywood raywood is offline Windows 10 Office 2010 64bit
Novice
 
Join Date: Sep 2018
Posts: 10
raywood is on a distinguished road
Default

gmayor -- yes, you're right, silly oversight on my part. Changing the path name fixed that. And this macro has the advantage of not requiring manual approval of each letter.

One remaining issue: in two tests, for the last .pa-delimited document, I get only a blank page. In one, for instance, there are eight pieces of correspondence ending with .pa; each of the first seven get copied into separate .docx files; there is an eighth .docx file, but it is empty; the eighth letter ending with .pa does not get copied into it.

Just in the spirit of trying to learn a bit from this, maybe the counter is incrementing at the wrong time?
Reply With Quote