Hello all
Firstly to point out my VBA knowledge is very limited so apologies if this is an obvious one, I've managed to fudge together the below code which does work, however I have an issue when I attempt to run another macro via a button to clear certain cells.
ChangeEvent2 runs if the value in M13 changes, which works fine until I run the Clear macro, which deletes the entry in M13, which I think then triggers ChangeEvent2 again. Excel appears to get stuck in a loop before crashing
I'm thinking I could change ChangeEvent2 to only run if M13 value is great than 1 so not to be triggered when the Clear macro runs, how would I tweak ChangeEvent2 so that it only triggers if M13 value is greater than 1?
Hopefully I've explained the situation clearly
Many thanks in advance
Twaddy
Please Login or Register to view this content.
Bookmarks