Curious. The code works fine for me. I'd be surprised if repairing Excel would change anything, but you can do this via 'Programs & Features' in the Windows Control Panel. The only other thing I can think of is that a 3rd-party addin that you might be running is interfering with the code's execution.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|