Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
It didn't work the way I wanted because I wasn't explicit enough, however,
with a value change it did mostly what I wanted. Thanks!! To be more explicit, Here is a dumbed down version of my worksheet and what I would like to do. A B C D E FG H I JK L M NO 1 2 Enter data into e1 and it returns to d2, and so on. Originally columns J&k are showing, but I will hide them for purposes of entering data, when I am finished with them columns, I will unhide them. So next when I enter the data into M1, the cursor will return to H2 and then from M2 to H3 and so on. I have other versions of this work sheet, but they are basically the same, there will only be some with more groups of 2 columns. Could you explain a little how target.column,target.offset works. Thanks a lot for your help, that little bit of code may end up saving me a lot of time entering data and not having to press keys. "Gary''''s Student" wrote: Since you only want to jump back and down after entries in columns B,F,J,...etc: Private Sub Worksheet_Change(ByVal Target As Range) If (Target.Column - 2) Mod 4 = 0 Then Target.Offset(1, -1).Select End If End Sub This is worksheet code. -- Gary's Student gsnu200702 "scotty" wrote: Using Excel 2003 I have 5 groups of 2 columns with 50 rows for each group of columns. I am using an electronic device to input values into the cells. I have excel set to move the cursor right after entering data. What I want to do is when I am in the second column in a group and I enter the data, I want the cursor to auto move back to the 2nd row in the 1st column in that group. For example A b E F I J 1 2 3 When the data is entered into b1, I want the cursor to go to A2. when I enter the data into b2, I want the cursor to move to A3 and so on down to row 50. I would like to do this for each group of columns, i.e AB EF IJ, etc. I have somewhat figured out how do do this, but it would take a lot of lines of code. Is there anyway I can do this fairly easily? Thanks for your help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VISUAL BASIC COMMAND TO MOVE CURSER DOWN ONE CELL | Excel Worksheet Functions | |||
Using an offset formula for the reference in a relative reference | Excel Worksheet Functions | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
How to Automatically Move Cell datato adjacent cell.. | Excel Discussion (Misc queries) | |||
Move automatically to a cell | Excel Discussion (Misc queries) |