How to execute a macro on a cell value?

asked 2018-08-08 21:47:37 +0200

MoritZ gravatar image

I am trying to execute a macro with an "if statement" or cell value. So, for example, if the value of cell ((B4 > 10, "trigger macro", "value is less than 10.))

Any advice or tips most welcome.

edit retag flag offensive close merge delete


Hi, @MoritZ what about this topic? You can just create an event, that runs your macro, when contents are changed. Just put conditional test in your macro code against B4 value and voila!

SM_Riga gravatar imageSM_Riga ( 2018-08-09 00:34:13 +0200 )edit