View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default Close VB in Code

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