Having trouble passing the current state of Application.MoveAfterReturnDirection between 2 subs, in one module, that are executed on workbookopen and beforeworkbookclose.
Code of this workbook
Code of Module 1![]()
Please Login or Register to view this content.
The MsgBox executes and provides a number -4161, which I hopes excel interprets as xIDown.![]()
Please Login or Register to view this content.
I haven't changed any of the names yet, originally I just set it to move right on open, and move down on close. Worked fine, but many people will be using this workbook and I don't want to force down on them if they had something else set.
Could use some help figuring out what I'm doing wrong.
Bookmarks