Quote:
Originally Posted by Guessed
Combining two conditions can be with an AND or an OR inclusion
If test1 = blah AND test2 = "blah blah" then 'this means both must be true
If test1 = blah OR test2 = "blah blah" then 'this means one must be true
So your code could be
Code:
For Each aTbl In ActiveDocument.Tables
With aTbl.Rows(1).Range.Font
If .Color = 192 And .Bold = True Then
aTbl.Rows(1).ConvertToText Separator:=wdSeparateByParagraphs, NestedTables:=False
ElseIf .Color = 192 Then
'do something else
End If
End With
Next aTbl
|
This helped alot. I'm so grateful to have you guys from the forum.
Thank you soooooooo very much, Andrew.
I'm getting better, but still lots to learn.
Cendrinne