View Single Post
 
Old 01-20-2012, 09:29 AM
ibrahimaa ibrahimaa is offline Windows Vista Office 2007
Advanced Beginner
 
Join Date: May 2011
Posts: 35
ibrahimaa is on a distinguished road
Red face Run Macro & Activate shape

I know that I can run a macro by clicking a button and/or run the macro automatically once you open the xls file. However, I want to know

(1) how I can run the macro in a cell when it meet a specific condition. For example IF $C2 = 5, run macro 1, “ “ .

(2) I have a shape in a cell where a macro will be executed if the user clicked it. How can I make this shape active only if meet specific criterion?
For example, IF $B1 = 3, shape1=active, shape1=not active .

I appreciate your help. Thank you.
Reply With Quote