P
PromisedOyster
I get the error message: String is longer than 255 characters if I
execute the following code AND the length of oTrueText is greater than
255 characters.
Word.MailMergeField condition =
_wordDoc.MailMerge.Fields.AddIf(_wordApp.Selection.Range
,fieldName
,wdComparison
,ref oCompareTo
,ref oMissing
,ref oTrueText
,ref oMissing
,ref oFalseText
);
Is there any way around this?
I want to create an IF condition with quite long text strings
execute the following code AND the length of oTrueText is greater than
255 characters.
Word.MailMergeField condition =
_wordDoc.MailMerge.Fields.AddIf(_wordApp.Selection.Range
,fieldName
,wdComparison
,ref oCompareTo
,ref oMissing
,ref oTrueText
,ref oMissing
,ref oFalseText
);
Is there any way around this?
I want to create an IF condition with quite long text strings