Hello all,
I have recorded a couple of macros in excel to do various things. What I now want to do is run 1, 2, 3 or all of them if a certain cell value is greater than a certain number. What i have is a value in cell c5. If this value is greater than 5 I want to run the first macro. If the value is greater than 10 I want to run the second macro, and if the value is greater than 15 I want to run the third, and so on and so on. I am a beginner at writing VB code, but I know that this is pretty simple, I just don't know exactly what to do.
Any help would be greatly appreciated.
G
I have recorded a couple of macros in excel to do various things. What I now want to do is run 1, 2, 3 or all of them if a certain cell value is greater than a certain number. What i have is a value in cell c5. If this value is greater than 5 I want to run the first macro. If the value is greater than 10 I want to run the second macro, and if the value is greater than 15 I want to run the third, and so on and so on. I am a beginner at writing VB code, but I know that this is pretty simple, I just don't know exactly what to do.
Any help would be greatly appreciated.
G