Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Is the a way to set "Move After Return" not to move, at the workbook level. I have a workbook with many sheets and Macros. No matter where I set the Excel option Move selection after Enter, the clicking enter on the worksheets still moves the selection in some way. If not at the workbook level, is there a way at the worksheet level? Thanks for your help. Jim |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() That is a global setting found at ToolsOptionsEdit. Uncheck the "move after enter" option. To disable at the workbook level you would have to disable in workbook_open or worksbook_activate code then re-enable when workbook is closed or de-activated. Same method for a worksheet. Private Sub Worksheet_Activate() Application.MoveAfterReturn = False End Sub Private Sub Worksheet_Deactivate() Application.MoveAfterReturn = True End Sub Gord Dibben MS Excel MVP On Wed, 24 Jun 2009 16:26:01 -0700, jswalsh33 wrote: Is the a way to set "Move After Return" not to move, at the workbook level. I have a workbook with many sheets and Macros. No matter where I set the Excel option Move selection after Enter, the clicking enter on the worksheets still moves the selection in some way. If not at the workbook level, is there a way at the worksheet level? Thanks for your help. Jim |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks for your response. That was the code I needed. Jim "Gord Dibben" wrote: That is a global setting found at ToolsOptionsEdit. Uncheck the "move after enter" option. To disable at the workbook level you would have to disable in workbook_open or worksbook_activate code then re-enable when workbook is closed or de-activated. Same method for a worksheet. Private Sub Worksheet_Activate() Application.MoveAfterReturn = False End Sub Private Sub Worksheet_Deactivate() Application.MoveAfterReturn = True End Sub Gord Dibben MS Excel MVP On Wed, 24 Jun 2009 16:26:01 -0700, jswalsh33 wrote: Is the a way to set "Move After Return" not to move, at the workbook level. I have a workbook with many sheets and Macros. No matter where I set the Excel option Move selection after Enter, the clicking enter on the worksheets still moves the selection in some way. If not at the workbook level, is there a way at the worksheet level? Thanks for your help. Jim |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selection won't move when I press enter...do you know why? | Excel Discussion (Misc queries) | |||
how do I move selection after enter direction | Excel Discussion (Misc queries) | |||
Move Selection after Enter | Excel Discussion (Misc queries) | |||
Tools - Option - "move selection after enter" | Excel Worksheet Functions | |||
Move selection after Enter | Excel Programming |