Assuming you're running this from Word (what you mean by "everything goes back to a blank sheet" is ambiguous), there is no reason the code stub you'd posted won't work properly. For all we know, though, the problem is with your foot2inline code - which you haven't posted.
PS: I've split this off to a separate thread as, aside from looping through a folder or Word files, the topic seems unrelated to the original one.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|