Hi all
I am looking for some help to fix the following problem.
When I create a table in Word, it it possible to add a row by pressing the
Tab key when the cursor is in the last cell of the table. I wish to be able
to lock up the number of row so that it become impossible to add another
row. It would be pactical when many independant table are created in the
same document. (I do not want create a form; it is not always the right
solution. I never found a solution by using Word "normal" features.
Is there a way to do that by using some VBA code?
Thank you very much in advance for any advice, help or code.

Alain Kadlec
Ottawa

Re: Table in Word XP by Jean-Guy

Jean-Guy
Wed Apr 06 21:41:02 CDT 2005

Alain+Ivy was telling us:
Alain+Ivy nous racontait que :

> Hi all
> I am looking for some help to fix the following problem.
> When I create a table in Word, it it possible to add a row by
> pressing the Tab key when the cursor is in the last cell of the
> table. I wish to be able to lock up the number of row so that it
> become impossible to add another row. It would be pactical when many
> independant table are created in the same document. (I do not want
> create a form; it is not always the right solution. I never found a
> solution by using Word "normal" features.
> Is there a way to do that by using some VBA code?
> Thank you very much in advance for any advice, help or code.
>

There is no easy way to do this.

Why? there maybe an easier solution to your situation.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org




Re: Table in Word XP by Mike

Mike
Thu Apr 07 11:21:25 CDT 2005

I am not sure my situation is the same, but I created a form where if you
tab out of the last cell it will automatically recreate the table. I
created an exit macro for the last cell which unlocked the form, copied the
table (I used an AutoText entry for this), then relocked the form. Since
you don't want this to happen, you could create another cell - or even a
macro button - that would do this.

Mike


"Alain+Ivy" <kadbijlecou@sympatico.ca> wrote in message
news:o0Z4e.18674$Fy3.1043622@news20.bellglobal.com...
> Hi all
> I am looking for some help to fix the following problem.
> When I create a table in Word, it it possible to add a row by pressing the
> Tab key when the cursor is in the last cell of the table. I wish to be
able
> to lock up the number of row so that it become impossible to add another
> row. It would be pactical when many independant table are created in the
> same document. (I do not want create a form; it is not always the right
> solution. I never found a solution by using Word "normal" features.
> Is there a way to do that by using some VBA code?
> Thank you very much in advance for any advice, help or code.
>
> Alain Kadlec
> Ottawa
>
>



Re: Table in Word XP by Alain+Ivy

Alain+Ivy
Thu Apr 07 16:46:43 CDT 2005

In my specific case I am not in a form. It is a regular document with two
tables. The users need to write freely in the cells and the cells must be
expendable. The users do not want any "forced" formatting. It would nice
to be able to lock up the table(s) once created.

"Alain+Ivy" <kadbijlecou@sympatico.ca> wrote in message
news:o0Z4e.18674$Fy3.1043622@news20.bellglobal.com...
> Hi all
> I am looking for some help to fix the following problem.
> When I create a table in Word, it it possible to add a row by pressing the
> Tab key when the cursor is in the last cell of the table. I wish to be
able
> to lock up the number of row so that it become impossible to add another
> row. It would be pactical when many independant table are created in the
> same document. (I do not want create a form; it is not always the right
> solution. I never found a solution by using Word "normal" features.
> Is there a way to do that by using some VBA code?
> Thank you very much in advance for any advice, help or code.
>
> Alain Kadlec
> Ottawa
>
>



Re: Table in Word XP by Klaus

Klaus
Fri Apr 08 10:33:56 CDT 2005

See your post in word.word97vba.
Please don't send the same message to several groups. Cross-posts (which =
are done by putting several newsgroups in the header of the same =
message) aren't as "bad", but usually not needed either because many of =
us read all the relevant groups anyway.

:-) Klaus