![]() |
#1
|
|||
|
|||
![]()
I have form that hides content control rich text
I would like the user to have an option to erase hidden content control : Private Sub cmdEraseblank_Click() Dim cc As ContentControl For Each cc In ActiveDocument.ContentControls If cc.Range.Font.Hidden = True Then cc.Range.delete True End If Exit For Next cc End Sub Cheers, |
Tags |
content control, delete, hidden |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Control content deleted when re-uploading to SharePoint | Peterson | Word | 5 | 06-27-2018 08:13 PM |
![]() |
DEsh | Word VBA | 2 | 10-06-2017 08:23 PM |
how to get control/option-delete to only delete the word and not the preceding space | microsofthelp | Word | 0 | 11-20-2016 04:34 AM |
![]() |
DougsGraphics | Word VBA | 2 | 06-24-2015 07:31 AM |
![]() |
BrainSlugs83 | Word Tables | 8 | 11-14-2013 03:06 AM |