Auto return
Hi
Unless the user wants to use the whole row of 256 columns before jumping
to the next line, wouldn't they need to insert a value equal to their
last column number, rather than using
Cells.Columns.Count
If Target.Column < Cells.Columns.Count Then
Cells.Columns.Count always returns 256 (in XL2003 and lower)
--
Regards
Roger Govier
"Gary''s Student" wrote in
message ...
Put this in worksheet code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column < Cells.Columns.Count Then
Exit Sub
Else
i = Target.Row + 1
Cells(i, 1).Select
End If
End Sub
REMEMBER worksheet code, not a standard module
--
Gary's Student
gsnu200707
"Richo" wrote:
I want to be able to go automate after entering data in the last cell
in a
row to then go back to the beginning of the next line?
|