The problem you're having with pictures being skipped and the code error-ing out is most likely due to there being no content between the pictures (i.e. they're next to each other or there's only a single paragraph break between them). The code really wasn't designed for that. You need to have at least an empty paragraph between the pics. I've fixed the code to address the loss of the 'F' at the beginning of 'Figure'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|