Thanks again Ron, it works great
Paul
"Ron de Bruin" wrote in message
...
Try this Paul
Application.VBE.MainWindow.Visible = False
--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl
"Paul Watkins" wrote in message
...
Hi
Is it possible to add a line of Vb code to a macro that will close the
visual basic editor window automatically?
If so, how is it written
Thanks
Paul