Try the attached template. Note that I've made some other changes to the code, too, so that it simply looks at the first worksheet in the workbook rather than looking for one named 'Folha1'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|