View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tim Childs[_5_] Tim Childs[_5_] is offline
external usenet poster
 
Posts: 9
Default Code Snippet - Activate VBE window

Hi

Can someone supply a neater way to actrivate the VB window using a
macro,please?

I used the code below but I think there must be something better:
ThisWorkbook.VBProject.VBE.MainWindow.SetFocus

Thanks

Tim