Check whether you have created two macros named StopNow. There should be only one.
Also: make sure that you haven't named the module StopNow. That would confuse VBA.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have VBA code to make Column F to blink
VBA Code
When I click on command button Color 3 and I click OK and run the command button again
Color 8
Color 10
Color 5
Color 0
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Check whether you have created two macros named StopNow. There should be only one.
Also: make sure that you haven't named the module StopNow. That would confuse VBA.
It looks like the first command button is an ActiveX Controls command button, whose OnClick code is in the worksheet module.
The second command button (Stop Now) is a Form Controls command box. The macro for this button should be StopNow. You should be able to select it from the list of available macros in the Assign Macro dialog.
It works perfectly. Thanks again.