The code in your last post is essentially the same as what I posted in post #6, except that you have an unnecessary CLng conversion - '.Text = CLng(i + 1)'
PS: When posting code, please use the code tags. They're indicated by the # button on the posting menu.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|