I have a command button that I am using on a worksheet. When the button is pushed it highlights a cell and when it is pushed again it highlight the other cell. Its basically an on off button for a machine. The issue is something is wrong with the code because it works in VBA by pressing the play button or play through the macro but when i press the button it will not switch. HELP! Here is the code:
HTML Code:
Bookmarks