View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Radu Radu is offline
external usenet poster
 
Posts: 13
Default How to determine if an excel Excel was open by code (automation) ormanually, by a human user

Hi. An excel file is opened by people, but also by code from a VB
application.

I would like the code in Workbook_Open to run whenever the file is
opened by a human, but not to run when the file is opened by
automation.

Any ideas ?

Thank you very much
Alex.