Hi Jana,
That suggests you haven't copied & pasted the code correctly. What did the 'Compile Error' message say was the problem? You need to be especially careful that the copied & pasted code has exactly the same content and layout as in my post.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|