Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21740

How to LOOP through a single word pages

$
0
0
Hi, this is my problem:

I'm creating like 700 word documents, then I read each one and throw it's content inside a single word.doc ( It's way faster than insert all this data inside a single one). Then I export it as PDF, but doing this, it does not get the same text formmat, like FontName and Size... SO I select the whole document (Wich contain also image and table) and change the Font Name/Size. But this way leaves some BlankPages.

So, that's what I need to do:

1 Loop through each page;
2 Check if it's a blank page;
2.1 If it's a blank page DELETE
2.2 If it's not a blank page, go to the next page.

but I have no idea how to loop through the document.

Viewing all articles
Browse latest Browse all 21740

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>