View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
SkylineGTR SkylineGTR is offline
external usenet poster
 
Posts: 20
Default Detecting if workbook running in IE or in Excel

You are a star Jim!

The Container property was the way to go! Word of caution though, do
not try and get the Container property in Workbook_Open - does not
work. You need to wait until Activate is fired, then you can determine
(it seems) reliably whether you are running in IE or Excel.