I have an excel file where i am using VBA code for highlight active row and column , now i also want to use toggle (turn on/off) worksheet protection when pressing Ctrl + u keys together will unprotect the worksheet, and pressing Ctrl + u keys together again will protect the worksheet again.
BUT i am getting RUN TIME error , attached is the error screen shot and my excel file, requesting for correction in code to solve the problem. Thanks
BUT i am getting RUN TIME error , attached is the error screen shot and my excel file, requesting for correction in code to solve the problem. Thanks