One of the code is called Sub test() and the other one is Sub final(). None of these codes are attached to any button, so I could not have run them from buttons. I run them as I always run codes: by going to the module and press F5.