Hmm. The command works for me. I'm assuming that when you type the command
in the Immediate window that no macros are running or in break mode.
Just to check, do you get the error message if you open a blank document,
open the VBE, open a module in Normal.dot, type the command in the Immediate
window and press enter? Forgive me asking the obvious if that's what you've
been doing but just thought I'd check.

Signature
Chuck Henrich
www.ProductivityApps.com
> Hi Chuck,
>
[quoted text clipped - 21 lines]
> > > Thanks,
> > > Caroline.
Caroline - 11 Oct 2005 00:30 GMT
Argh! I knew I was doing something silly!
I was going into the script editor instead of VBE.
(slaps forehead)
Thanks Chuck.
> Hmm. The command works for me. I'm assuming that when you type the command
> in the Immediate window that no macros are running or in break mode.
[quoted text clipped - 29 lines]
> > > > Thanks,
> > > > Caroline.
Chuck Henrich - 11 Oct 2005 11:11 GMT
You're welcome, glad the mystery's solved.

Signature
Chuck Henrich
www.ProductivityApps.com
> Argh! I knew I was doing something silly!
>
[quoted text clipped - 37 lines]
> > > > > Thanks,
> > > > > Caroline.