Quote:
Originally Posted by gmayor
The code references are to lower case so
Code:
Case Is = "ComSystem"
is never going to be true
Use instead
Code:
Case Is = "comsystem"
Similarly
Code:
If InStr(1, LCase(ContentControl.Range.Text), "test") > 0 Then
There doesn't appear to be a content control titled "BVW" in the document?
|
Yeeeees! You really rock and thanks for your valuable assistance. It worked perfectly.
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?