Hi,
I have a macro.
I would like to run the macro each time a condition (that located in a specific cell in my excel sheet) set to true.
I managed to do so, but there were some problems:
1. It ran only once (and the second time the condition set to true again, the macro didn't run).
2. If I set the condition to be inside the macro, then the macro needed to run all the time and I got into unlimited loop. Therefore I cannot use the excel sheet unless I stop the loop,meaning, I need to run the macro manually each time.
I wish I could have a simple way like:
(In a specific cell A2) - "= If (A1=true,RunMyMacro,)"
so each time A1 set to true then my macro will run - BUT only once, then when A1 set to false and back to true it will run the macro again automatically.
HELP!!
Can someone give me a hand please ?
BIG Thanks for your time and any reply.
I have a macro.
I would like to run the macro each time a condition (that located in a specific cell in my excel sheet) set to true.
I managed to do so, but there were some problems:
1. It ran only once (and the second time the condition set to true again, the macro didn't run).
2. If I set the condition to be inside the macro, then the macro needed to run all the time and I got into unlimited loop. Therefore I cannot use the excel sheet unless I stop the loop,meaning, I need to run the macro manually each time.
I wish I could have a simple way like:
(In a specific cell A2) - "= If (A1=true,RunMyMacro,)"
so each time A1 set to true then my macro will run - BUT only once, then when A1 set to false and back to true it will run the macro again automatically.
HELP!!
Can someone give me a hand please ?
BIG Thanks for your time and any reply.