LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default "tab" thru cells in a specific order

Is there an event I could use to fire this code only if the "enter" key is
pressed after changing the value of the active cell? The code below
essentially does what I want by runing anytime the cell value is changed.
However, I'd like the arrow keys to work "normally"....sometimes I want to
change the values in all of the cells in column 3 and I want the arrow key to
go down instead of to the down one and left 2.

Thanks!!

Rich

"Don Guillett" wrote:

right click sheet tabview codeinsert thismodifySAVE

Private Sub Worksheet_Change(ByVal Target As Range)

If Target.Address = "$A$1" Then Target.Offset(1).Select
If Target.Address = "$A$2" Then Target.Offset(1).Select
If Target.Address = "$A$3" Then Target.Offset(-2, 1).Select
'or
'If Target.Address = "$A$3" Then Range("b1").Select

End Sub

--
Don Guillett
SalesAid Software

"SteelDetailer" wrote in message
...
I need to be able to "tab" or "enter" thru cells in a specific order.
For example, I will be entering data into cells A1 thru Z9. he data in A1, A2
& A3 are related to each other, as is B1-B3, C1-C3, A4-A6, B4-B6, A7-A9,
B7-B9,etc.

How do I make the "tab order" be A1, A2, A3, B1, B2, B3, C1......A4, A5,
A6, B4, B5, B6......etc.?

I use the term "tab order" because, if I recall correctly, that is the
name of the VB property for objects in VB forms.

 
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
Problems with macro, setting "tab order" of unprotected cells Foxcole Excel Discussion (Misc queries) 2 May 14th 09 09:08 PM
Validation ?:Accepting both Numbers AND specific letters("N","n"," Antonio Excel Discussion (Misc queries) 2 April 22nd 08 05:07 PM
"Extract" specific values from cells Portuga Excel Discussion (Misc queries) 3 March 21st 06 08:18 PM
"tab" thru cells in a specific order SteelDetailer[_2_] Excel Programming 9 November 3rd 05 06:27 PM
Backup to specific folder if workbook names begins with "NSR" or "MAC" GregR Excel Programming 3 May 6th 05 12:24 AM


All times are GMT +1. The time now is 11:54 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"