View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
MSweetG222 MSweetG222 is offline
external usenet poster
 
Posts: 158
Default Excel Object in Word Document

I have written an addin and placed access to it on the main menu toolbar.
However, I do not want the user to have access to the addin if Excel is
opened inside another program (like Word).

What VBA code will tell me that Excel was open in another program?

Thx for your help.

MSweetG222