![]() |
|
#1
|
||||
|
||||
![]() The code references are to lower case so Code:
Case Is = "ComSystem" Use instead Code:
Case Is = "comsystem" Code:
If InStr(1, LCase(ContentControl.Range.Text), "test") > 0 Then
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#2
|
|||
|
|||
![]() Quote:
One last question, as the "comsystem" value comes from an automated script and there is no manual intervention to word document, i see that unless i press anywhere in the doc, content control checkboxes are not updated. Is there any suggestion, to be updated while "Save as" or "Export" are automatically hitted? |
![]() |
Tags |
content control events, vba combobox, vba word |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jsc_msoffice | Word VBA | 2 | 05-21-2021 09:51 PM |
![]() |
ashleyf | Word VBA | 2 | 03-19-2020 09:11 AM |
Content Control content deleted when re-uploading to SharePoint | Peterson | Word | 5 | 06-27-2018 08:13 PM |
![]() |
DougsGraphics | Word VBA | 2 | 06-24-2015 07:31 AM |
![]() |
BrainSlugs83 | Word Tables | 8 | 11-14-2013 03:06 AM |