edpolanco10
New Member
- Joined
- Oct 3, 2011
- Messages
- 4
I have and excel addin for 2003 the adds a menu item to the right click menu. The addin works just find but I want to add the functionality where it is only enabled when the activecell contains a certain formula, lets call it “MyFunc()”. I know how to read the active formula from the active cell. I have a procedure that reads the formula. I also have a procedure that disables my menu item. But how can I get excel to call this procedure to disable my menu item when the activecell contains “MyFunc()”. I tried using the BeforeRightClick event in the thisworkbook but that only works on the active workbook.