Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Move selection after Enter

If you hide row 2, then A3 would be selected.

--
Regards,
Tom Ogilvy


Kevin wrote in message
...
It is possible to prevent certain cells from being
activated? That is, if the Edit tab in the Tools/Options
menu shows "Move selection after Enter" to be checked
and "Direction" to be set to "Down"...cell A2 becomes the
active call after I enter a number in cell A1. Is there a
way of modifying cell A2 to force cell A3 to become the
active cell after I enter a number in cell A1?

Thanks.


Kevin



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Move selection after Enter

In the sheet code..

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Address = "$A$1" Then Range("$A$3").Select
End Sub


Tom Ogilvy wrote in message
...
If you hide row 2, then A3 would be selected.

--
Regards,
Tom Ogilvy


Kevin wrote in message
...
It is possible to prevent certain cells from being
activated? That is, if the Edit tab in the Tools/Options
menu shows "Move selection after Enter" to be checked
and "Direction" to be set to "Down"...cell A2 becomes the
active call after I enter a number in cell A1. Is there a
way of modifying cell A2 to force cell A3 to become the
active cell after I enter a number in cell A1?

Thanks.


Kevin





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Move selection after Enter

Thanks Stuart.

This works just fine.


-Kevin

----- Stuart wrote: -----

In the sheet code..

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Address = "$A$1" Then Range("$A$3").Select
End Sub


Tom Ogilvy wrote in message
...
If you hide row 2, then A3 would be selected.
--

Regards,
Tom Ogilvy
Kevin wrote in message

...
It is possible to prevent certain cells from being
activated? That is, if the Edit tab in the Tools/Options
menu shows "Move selection after Enter" to be checked
and "Direction" to be set to "Down"...cell A2 becomes the
active call after I enter a number in cell A1. Is there a
way of modifying cell A2 to force cell A3 to become the
active cell after I enter a number in cell A1?
Thanks.
Kevin


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selection won't move when I press enter...do you know why? lori Excel Discussion (Misc queries) 1 January 12th 09 01:21 PM
how do I move selection after enter direction plasiter Excel Discussion (Misc queries) 2 September 22nd 08 06:18 PM
Easily change Move selection after Enter option Paul S[_2_] Excel Discussion (Misc queries) 2 February 26th 08 09:13 PM
Move Selection after Enter Joseph Meehan Excel Discussion (Misc queries) 4 November 3rd 05 12:55 AM
Tools - Option - "move selection after enter" jules75 Excel Worksheet Functions 0 August 17th 05 10:56 PM


All times are GMT +1. The time now is 02:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"