Rich text controlsįirst let's look at problems associated with rich text controls. Unfortunately navigating between content controls in documents containing rich text or picture content controls is more problematic. Note: If there are one or more content controls in the document after your assigned "Last" content control then the focus will be set automatically to the content control tagged "First" when you tab out of the "Last" control. Then when you finish in the last content control simply click anywhere in the document and the to exit the content control and the focus will be returned to the content control tagged "First." '"First" = tag property applied to the first control.ĪctiveDocument.SelectContentControlsByTag("First").Item(1).Range.Select '"Last" = tag property applied to the last control. Private Sub Document_ContentControlOnExit(ByVal ContentControl As ContentControl, Cancel As Boolean)
0 Comments
Leave a Reply. |