Thread
:
enter key behavior - by sheet
View Single Post
#
2
Posted to microsoft.public.excel.programming
Gord Dibben[_2_]
external usenet poster
Posts: 621
enter key behavior - by sheet
Copy these two events to a sheet module.
Private Sub Worksheet_Activate()
Application.MoveAfterReturnDirection = xlToRight
End Sub
Private Sub Worksheet_Deactivate()
Application.MoveAfterReturnDirection = xlDown
End Sub
Gord
On Wed, 9 Jul 2014 10:40:15 -0700 (PDT),
wrote:
I know the enter key's next cell advance behavior can be addressed in workbook options, but how would I adjust it on a sheet by sheet basis?
On sheet entry I would like to do two things, record the current enter key configuration and then change it to, for example, advance down columns.
On sheet exit, I would like to return the key to its original state.
Thank you
Reply With Quote
Gord Dibben[_2_]
View Public Profile
Find all posts by Gord Dibben[_2_]