Alphacsulb
03-20-2008, 02:51 PM
This is the code I have:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Cells(1, Target.Column) <> "X" Then Target.Offset(0, 1).Select
End Sub
This code will control all rows starting with 2 all the way down.
However, I want this code only to apply to row 2.
I need a code like the one above but I want it to work with my table.
My table is below:
http://i88.photobucket.com/albums/k193/Rgarcia9/253c15de.jpg
:dunno Im lost.
Help!!!
Julia
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Cells(1, Target.Column) <> "X" Then Target.Offset(0, 1).Select
End Sub
This code will control all rows starting with 2 all the way down.
However, I want this code only to apply to row 2.
I need a code like the one above but I want it to work with my table.
My table is below:
http://i88.photobucket.com/albums/k193/Rgarcia9/253c15de.jpg
:dunno Im lost.
Help!!!
Julia