#1   Report Post  
Jamie
 
Posts: n/a
Default Force Tab

I am working in Excel 2002.

Currently I have a table (A1:U14), is there any way that I can apply coding
to a column, in this case, column U, so when I tab out of cell U14 the cursor
will go to the beginning of that row, cell A14. Or to the beginning of
whatever row I may be tabbing out of in column U.
--
Jamie
  #2   Report Post  
Otto Moehrbach
 
Posts: n/a
Default

I assume you are tabbing out of the U cell after you entered something in
that cell. If so, then a Worksheet_Change event macro will work for you.
Something like:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 21 Then _
Cells(Target.Row, 1).Select
End Sub

HTH Otto
"Jamie" wrote in message
...
I am working in Excel 2002.

Currently I have a table (A1:U14), is there any way that I can apply
coding
to a column, in this case, column U, so when I tab out of cell U14 the
cursor
will go to the beginning of that row, cell A14. Or to the beginning of
whatever row I may be tabbing out of in column U.
--
Jamie



  #3   Report Post  
Jamie
 
Posts: n/a
Default

Thanks for the coding. Excuse my inexperience, I'm assuming I enter this
coding by creating a new macro, but how do I get it to run?

"Otto Moehrbach" wrote:

I assume you are tabbing out of the U cell after you entered something in
that cell. If so, then a Worksheet_Change event macro will work for you.
Something like:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 21 Then _
Cells(Target.Row, 1).Select
End Sub

HTH Otto
"Jamie" wrote in message
...
I am working in Excel 2002.

Currently I have a table (A1:U14), is there any way that I can apply
coding
to a column, in this case, column U, so when I tab out of cell U14 the
cursor
will go to the beginning of that row, cell A14. Or to the beginning of
whatever row I may be tabbing out of in column U.
--
Jamie




  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Jamie

Copy Otto's code which is worksheet event code and goes into the sheet module.

Right-click on the worksheet tab and "View Code".

Paste in there.

You do not "run" it. The Change_Event runs itself whenever you TAB or ENTER
out of a cell in Column U after you have entered data.


Gord Dibben Excel MVP

On Tue, 1 Feb 2005 14:23:05 -0800, "Jamie"
wrote:

Thanks for the coding. Excuse my inexperience, I'm assuming I enter this
coding by creating a new macro, but how do I get it to run?

"Otto Moehrbach" wrote:

I assume you are tabbing out of the U cell after you entered something in
that cell. If so, then a Worksheet_Change event macro will work for you.
Something like:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 21 Then _
Cells(Target.Row, 1).Select
End Sub

HTH Otto
"Jamie" wrote in message
...
I am working in Excel 2002.

Currently I have a table (A1:U14), is there any way that I can apply
coding
to a column, in this case, column U, so when I tab out of cell U14 the
cursor
will go to the beginning of that row, cell A14. Or to the beginning of
whatever row I may be tabbing out of in column U.
--
Jamie





  #5   Report Post  
Otto Moehrbach
 
Posts: n/a
Default

Thanks Gord. I should have included that but I was rushed at the moment.
Otto
"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Jamie

Copy Otto's code which is worksheet event code and goes into the sheet
module.

Right-click on the worksheet tab and "View Code".

Paste in there.

You do not "run" it. The Change_Event runs itself whenever you TAB or
ENTER
out of a cell in Column U after you have entered data.


Gord Dibben Excel MVP

On Tue, 1 Feb 2005 14:23:05 -0800, "Jamie"

wrote:

Thanks for the coding. Excuse my inexperience, I'm assuming I enter this
coding by creating a new macro, but how do I get it to run?

"Otto Moehrbach" wrote:

I assume you are tabbing out of the U cell after you entered something
in
that cell. If so, then a Worksheet_Change event macro will work for
you.
Something like:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 21 Then _
Cells(Target.Row, 1).Select
End Sub

HTH Otto
"Jamie" wrote in message
...
I am working in Excel 2002.

Currently I have a table (A1:U14), is there any way that I can apply
coding
to a column, in this case, column U, so when I tab out of cell U14 the
cursor
will go to the beginning of that row, cell A14. Or to the beginning
of
whatever row I may be tabbing out of in column U.
--
Jamie








  #6   Report Post  
Jamie
 
Posts: n/a
Default

Gord and Otto: Thank you, thank you, thank you. It works like a charm. You
are awesome!!

"Gord Dibben" wrote:

Jamie

Copy Otto's code which is worksheet event code and goes into the sheet module.

Right-click on the worksheet tab and "View Code".

Paste in there.

You do not "run" it. The Change_Event runs itself whenever you TAB or ENTER
out of a cell in Column U after you have entered data.


Gord Dibben Excel MVP

On Tue, 1 Feb 2005 14:23:05 -0800, "Jamie"
wrote:

Thanks for the coding. Excuse my inexperience, I'm assuming I enter this
coding by creating a new macro, but how do I get it to run?

"Otto Moehrbach" wrote:

I assume you are tabbing out of the U cell after you entered something in
that cell. If so, then a Worksheet_Change event macro will work for you.
Something like:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 21 Then _
Cells(Target.Row, 1).Select
End Sub

HTH Otto
"Jamie" wrote in message
...
I am working in Excel 2002.

Currently I have a table (A1:U14), is there any way that I can apply
coding
to a column, in this case, column U, so when I tab out of cell U14 the
cursor
will go to the beginning of that row, cell A14. Or to the beginning of
whatever row I may be tabbing out of in column U.
--
Jamie





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
excel save as csv - force text qualifier on every text field Newbie-Don Excel Discussion (Misc queries) 6 April 2nd 23 08:33 PM
How to force continuous lines in line charts wal50 Charts and Charting in Excel 1 December 21st 04 10:43 PM
Force save as Excel Discussion (Misc queries) 3 December 7th 04 04:18 PM
How do I force a series in a Bar-Line Chart to be a Bar? Excel Challenged Charts and Charting in Excel 1 December 6th 04 04:16 AM
How do I force a hyperlink in a spreadsheet to open a new window? sq246 Excel Worksheet Functions 0 November 18th 04 10:53 PM


All times are GMT +1. The time now is 06:02 AM.

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"