I didn't even think it was possible to have a state where there is no active cell.
Attached is a sample file. There is a spin button at the top. The purpose of the spin button is to move the selected item up or down. (details below)
The spin button works, but after the code completes, there is no cell selected/active on the worksheet, even though the macro explicitly activates a cell. The address box is blank. If I step through the code in debug mode, it works as expected, with a selection border around the desired cell and its address in the address box.
Select any item in column B. The spin button will become enabled. Click the Up arrow to move the item up in the list, and the Down arrow to move it down.
How do I get it to leave a cell selected, as it does when I step through the code?
Bookmarks