#1   Report Post  
Posted to microsoft.public.word.docmanagement
Smhall Smhall is offline
external usenet poster
 
Posts: 9
Default Prevent new rows

Can I set a table up with a specific number of rows and not allow any
additional rows to be added? I don't want other users to be able to add a
row by pressing tab.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Prevent new rows

I don't think you can unless the table is in a protected section of a
document protected for forms.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Smhall" wrote in message
...
Can I set a table up with a specific number of rows and not allow any
additional rows to be added? I don't want other users to be able to add a
row by pressing tab.


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default Prevent new rows

You can intercept the tab key in a table cell by creating a macro called
NextCell. In this you could prevent adding a new row but this would not stop
creation of new rows altogether.

Sub NextCell()
If Selection.Cells(1).RowIndex _
= Selection.Tables(1).Rows.Count _
And Selection.Cells(1).ColumnIndex _
= Selection.Tables(1).Columns.Count Then
' Do Nothing
Else
Selection.MoveRight wdCell
End If
End Sub

--
Enjoy,
Tony

"Suzanne S. Barnhill" wrote in message
...
I don't think you can unless the table is in a protected section of a
document protected for forms.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup

so
all may benefit.

"Smhall" wrote in message
...
Can I set a table up with a specific number of rows and not allow any
additional rows to be added? I don't want other users to be able to add

a
row by pressing tab.




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
Copying 200 default rows from excel print 74 only in word. Adjusting TOCto reflect page numbering Microsoft Word Help 3 September 20th 06 03:28 AM
Header Rows in Table Won't Repeat Idaho Word Man Microsoft Word Help 1 August 3rd 06 01:10 AM
Problem pasting landscape table rows [email protected] Page Layout 4 June 30th 06 11:01 AM
prevent page breaks between specific rows Niecie Tables 4 June 2nd 06 04:36 AM
Top two rows to be heading rows, one keeps turning off [email protected] Tables 1 December 31st 05 03:51 PM


All times are GMT +1. The time now is 07:00 AM.

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"