Share via

Can't Exit Content Control After Running VBA Code

Anonymous
2012-02-16T03:34:56+00:00

Resolved: Badly placed Cancel statement.

I'm using Word 2010 32bit on Windows 7 64bit. I have created a legal document with a preamble that contains multiple rich text content controls for various pieces of information, all nested within a locked for editing 'container' content control that protects the entire preamble from being edited (excepting the embedded content controls). Upon exiting each embedded content control I run vba code to update a corresponding docvariable. The code executes without any problems, but once the VBA code has finished running I can no longer move the cursor outside of the 'container' content control - I'm locked in. The only way I have found to get the cursor back into the document itself is to switch into Design Mode, manually move the cursor outside of the 'container' content control, and then turn Design Mode off again. Has anybody run into this problem?

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

Answer accepted by question author

Anonymous
2012-02-17T02:20:55+00:00

Hello,

Please try to use the arrow keys (Left / Right / Up / Down) to move the cursor outside of the Rich Text Content Control.

If this way couldn't solve your issue, could you please show us your VBA code as this issue occured after running VBA code?

Regards,

Cristin Yan

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful