I'm in MS Word VBA. I'm looping through documents and folders to open a Word file and then apply formatting (margins etc). This all works fine. But the documents are disorganized downloads from a mainframe where the headers for sections are halfway between pages etc.
I'd like to be able to loop through the document, search for a specific string and then insert a page break above that string each time it's found. I can get VBA to insert 1 string at the top of the document but I can not get VBA to loop the entire document and continue on even though I've used variations of the find command. Any suggestions?
Becky
I'd like to be able to loop through the document, search for a specific string and then insert a page break above that string each time it's found. I can get VBA to insert 1 string at the top of the document but I can not get VBA to loop the entire document and continue on even though I've used variations of the find command. Any suggestions?
Becky