E
Elbyron
Steps to reproduce the problem:
1) Create a document with protected and non-protected sections
2) Create a table in a non-protected section.
3) Protect the document. Note that the tab key advances the cursor to the
next cell in the table, as expected.
4) Unprotect the document and turn on design mode.
5) Add any Visual Basic control anywhere in the document.
6) Turn off design mode and protect the document again. Now try to press tab
in the table - it will jump to the next unprotected section (or back to the
top). Even if you remove the VB control, the tab behavior is still affected.
I tried overriding the tab key behavior by creating a macro named NextCell,
but I found that once you add the VB control it no longer calls this function
- it's doing something else. I couldn't find anything on Microsoft's support
site about this issue, and couldn't find a solution via google searching
either.
This problem is very annoying as I could benefit from being able to use VB
controls in a protected document. But if the users can't navigate the table
as usual (especially tabbing past the end to create new rows), I have to find
workarounds using macros and toolbar buttons.
I am using Word 2000, so maybe the problem was fixed in a later version. I'm
rather doubtful, but please let me know if it works in your version so at
least I know I can use VB controls in the future (if we ever get around to
upgrading). Any suggestions for workarounds are also appreciated.
Thanks,
Elbyron
1) Create a document with protected and non-protected sections
2) Create a table in a non-protected section.
3) Protect the document. Note that the tab key advances the cursor to the
next cell in the table, as expected.
4) Unprotect the document and turn on design mode.
5) Add any Visual Basic control anywhere in the document.
6) Turn off design mode and protect the document again. Now try to press tab
in the table - it will jump to the next unprotected section (or back to the
top). Even if you remove the VB control, the tab behavior is still affected.
I tried overriding the tab key behavior by creating a macro named NextCell,
but I found that once you add the VB control it no longer calls this function
- it's doing something else. I couldn't find anything on Microsoft's support
site about this issue, and couldn't find a solution via google searching
either.
This problem is very annoying as I could benefit from being able to use VB
controls in a protected document. But if the users can't navigate the table
as usual (especially tabbing past the end to create new rows), I have to find
workarounds using macros and toolbar buttons.
I am using Word 2000, so maybe the problem was fixed in a later version. I'm
rather doubtful, but please let me know if it works in your version so at
least I know I can use VB controls in the future (if we ever get around to
upgrading). Any suggestions for workarounds are also appreciated.
Thanks,
Elbyron