Group: microsoft.public.word.vba.general
From: "Shauna Kelly"
Date: Saturday, February 16, 2008 4:04 AM
Subject: Re: Disabling "next cell" in a table

Hi

See
Intercepting events like Save and Print
http://www.word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm

You can intercept the NextCell command. You'll have to write code that
determines when the user should be able to tab to the next cell and when
not.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word



"VBA Neophyte" wrote in message
news:59B2B233-3522-44B0-AB24-DDEBC63E370C@microsoft.com...
>I have a table divided into protected and unprotected sections. In the
> unprotected sections, when the user tabs, a new line is created (as
> though
> it were the end of the table). I want to disable the "next cell"
> function in
> these cases, or otherwise prevent the creation of a new row, or force
> navigation to the next form field/section. Any suggestions?
>
> Thanks.