#1   Report Post  
Posted to microsoft.public.word.tables
afdmello afdmello is offline
external usenet poster
 
Posts: 26
Default entering data

Is there a keyboard shortcut to go to the lower row when entering data in
table
the tab key moves the cursor to the next horizontal cell.

Afd


  #2   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default entering data

Insert the following macro into your normal.dot (or dotm) template and it
will hijack the use of the tab key in a table
so that it does what you want:

Sub NextCell()
'
' NextCell Macro
' Moves to the next table cell
' Modified by Doug Robbins to move to the next cell in the column before
moving to
'the next column
With Selection.Tables(1)
If Selection.Information(wdEndOfRangeRowNumber) .Rows.Count Then
Selection.MoveDown
ElseIf Selection.Information(wdEndOfRangeColumnNumber) _
..Columns.Count Then
.Cell(1, Selection.Information(wdEndOfRangeColumnNumber) + _
1).Select
Selection.Collapse wdCollapseStart
Else
MsgBox "You have reached the end of the table."
End If
End With

End Sub


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"afdmello" wrote in message
...
Is there a keyboard shortcut to go to the lower row when entering data in
table
the tab key moves the cursor to the next horizontal cell.

Afd


  #3   Report Post  
Posted to microsoft.public.word.tables
afdmello afdmello is offline
external usenet poster
 
Posts: 26
Default entering data

Thank you Robbins for the effort and I truly appreciate your time and help.
Unfortunately, I know nothing about VBA and will have to start learning it.

Afd
"Doug Robbins - Word MVP" wrote in message
...
Insert the following macro into your normal.dot (or dotm) template and it
will hijack the use of the tab key in a table
so that it does what you want:

Sub NextCell()
'
' NextCell Macro
' Moves to the next table cell
' Modified by Doug Robbins to move to the next cell in the column before
moving to
'the next column
With Selection.Tables(1)
If Selection.Information(wdEndOfRangeRowNumber) .Rows.Count Then
Selection.MoveDown
ElseIf Selection.Information(wdEndOfRangeColumnNumber) _
.Columns.Count Then
.Cell(1, Selection.Information(wdEndOfRangeColumnNumber) + _
1).Select
Selection.Collapse wdCollapseStart
Else
MsgBox "You have reached the end of the table."
End If
End With

End Sub


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"afdmello" wrote in message
...
Is there a keyboard shortcut to go to the lower row when entering data in
table
the tab key moves the cursor to the next horizontal cell.

Afd




  #4   Report Post  
Posted to microsoft.public.word.tables
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default entering data

No learning required - see http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



afdmello wrote:
Thank you Robbins for the effort and I truly appreciate your time and
help. Unfortunately, I know nothing about VBA and will have to start
learning it.
Afd
"Doug Robbins - Word MVP" wrote in message
...
Insert the following macro into your normal.dot (or dotm) template
and it will hijack the use of the tab key in a table
so that it does what you want:

Sub NextCell()
'
' NextCell Macro
' Moves to the next table cell
' Modified by Doug Robbins to move to the next cell in the column
before moving to
'the next column
With Selection.Tables(1)
If Selection.Information(wdEndOfRangeRowNumber) .Rows.Count
Then Selection.MoveDown
ElseIf Selection.Information(wdEndOfRangeColumnNumber) _
.Columns.Count Then
.Cell(1, Selection.Information(wdEndOfRangeColumnNumber)
+ _ 1).Select
Selection.Collapse wdCollapseStart
Else
MsgBox "You have reached the end of the table."
End If
End With

End Sub


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"afdmello" wrote in message
...
Is there a keyboard shortcut to go to the lower row when entering
data in table
the tab key moves the cursor to the next horizontal cell.

Afd



  #5   Report Post  
Posted to microsoft.public.word.tables
Guy Lydig Guy Lydig is offline
external usenet poster
 
Posts: 46
Default entering data

I am sorry if this is too obvious but you do know that you can use the down
arrow, right?

"afdmello" wrote:

Thank you Robbins for the effort and I truly appreciate your time and help.
Unfortunately, I know nothing about VBA and will have to start learning it.

Afd
"Doug Robbins - Word MVP" wrote in message
...
Insert the following macro into your normal.dot (or dotm) template and it
will hijack the use of the tab key in a table
so that it does what you want:

Sub NextCell()
'
' NextCell Macro
' Moves to the next table cell
' Modified by Doug Robbins to move to the next cell in the column before
moving to
'the next column
With Selection.Tables(1)
If Selection.Information(wdEndOfRangeRowNumber) .Rows.Count Then
Selection.MoveDown
ElseIf Selection.Information(wdEndOfRangeColumnNumber) _
.Columns.Count Then
.Cell(1, Selection.Information(wdEndOfRangeColumnNumber) + _
1).Select
Selection.Collapse wdCollapseStart
Else
MsgBox "You have reached the end of the table."
End If
End With

End Sub


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"afdmello" wrote in message
...
Is there a keyboard shortcut to go to the lower row when entering data in
table
the tab key moves the cursor to the next horizontal cell.

Afd







  #6   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default entering data

But when you get to the bottom of the column, the selection will not be
moved to the top of the next column as is what happens with the macro when
the tab key is used to move the selection.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"Guy Lydig" wrote in message
...
I am sorry if this is too obvious but you do know that you can use the down
arrow, right?

"afdmello" wrote:

Thank you Robbins for the effort and I truly appreciate your time and
help.
Unfortunately, I know nothing about VBA and will have to start learning
it.

Afd
"Doug Robbins - Word MVP" wrote in message
...
Insert the following macro into your normal.dot (or dotm) template and
it
will hijack the use of the tab key in a table
so that it does what you want:

Sub NextCell()
'
' NextCell Macro
' Moves to the next table cell
' Modified by Doug Robbins to move to the next cell in the column
before
moving to
'the next column
With Selection.Tables(1)
If Selection.Information(wdEndOfRangeRowNumber) .Rows.Count
Then
Selection.MoveDown
ElseIf Selection.Information(wdEndOfRangeColumnNumber) _
.Columns.Count Then
.Cell(1, Selection.Information(wdEndOfRangeColumnNumber) + _
1).Select
Selection.Collapse wdCollapseStart
Else
MsgBox "You have reached the end of the table."
End If
End With

End Sub


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"afdmello" wrote in message
...
Is there a keyboard shortcut to go to the lower row when entering data
in
table
the tab key moves the cursor to the next horizontal cell.

Afd






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i fill out multiple forms by entering data once? itsupport@cthomes Microsoft Word Help 1 July 13th 07 05:30 AM
Entering data into word using a form katispil Microsoft Word Help 1 January 4th 07 10:18 PM
entering data into a field is moving the whole document to the rig anne Microsoft Word Help 2 April 26th 06 12:16 AM
autotext not entering correct data Baylea90 Microsoft Word Help 2 April 11th 05 03:50 PM
Mailmerge entering data that is not there originally Stefan Mailmerge 2 March 25th 05 07:36 PM


All times are GMT +1. The time now is 04:15 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"