Share via

Disable automatically inserting rows in a table

Anonymous
2010-06-21T17:03:46+00:00

I inserted a table in a Word 2007 document and do not want any more rows added to the table. However, I've been unable to find where I can lock this in so that rows are not automatically inserted when navigating with the Tab key.

Thank you in advance for your help!

Anne

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2010-06-21T18:04:28+00:00

    Word doesn't have that feature without programming as Yves has suggested. What is it you are trying to achieve: create a form?

    --

    Terry Farrell - MSWord MVP

    "FGA Anne" wrote in message news:2975908d-7a5b-47ca-aee1-9aad46f2d420...

    I inserted a table in a Word 2007 document and do not want any more rows added to the table. However, I've been unable to find where I can lock this in so that rows are not automatically inserted when navigating with the Tab key.

    Thank you in advance for your help!

    Anne


    Terry Farrell

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2010-06-21T17:49:53+00:00

    The only way I can think of is by overwriting the NextCell sub in a macro and checking when you are in the last cell.

    Something along the lines of :

    ====================

     Sub NextCell()

      ' Only move to the next cell if there is a next cell.

      If Selection.Information(wdEndOfRangeColumnNumber) < Selection.Information(wdMaximumNumberOfColumns) Or _

         Selection.Information(wdEndOfRangeRowNumber) < Selection.Information(wdMaximumNumberOfRows) Then

        Selection.MoveRight Unit:=wdCell, Count:=1, Extend:=wdMove

      Else

        ' As you are in the last cell, you can do something else

        ' with the tab. For example, you could move back to the

        ' first cell or so.

      End If

    End Sub

    ====================

    For more information on installing macros, see http://www.gmayor.com/installing_macro.htm

    Was this answer helpful?

    0 comments No comments