Can anyone help me with an issue of the above code line not working ?

I have used this many times before when I want to position to the next unlocked open cell. It was working, not it is not. I am not sure why.

I could use the TAB button on a protected file and I would position to the next unlocked open cell, however, in a file that was working and now is not, when depressing the TAB key (while protected) the cursor doesn't move at all - any help is appreciated.

Thanx