Hi eNGiNe,
I'm not sure what generating random numbers in Excel would achieve. The same could be done via a Document_New macro (ie without involving Excel). The danger with either approach, though, is that you could end up with multiple files containing the same randomly-generated numbers. FWIW, I've also posted a number of macros in the Word vba forum for sequentially numbering documents (typically invoices).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|