If you checked the code line on which the error occurs, you'd see that:
Call UpdateDocuments(CStr(Split(StrFolds, vbCr)(i)))
is highlighted.
Fairly obviously, I'd have thought, for consistency with the rest of the code you'd need to change that to:
Call CombineDocuments(CStr(Split(StrFolds, vbCr)(i)))
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|