C
Cloe
Hi all.
I use VB6 to create a Word document from an existing "template" I made.
This is a piece of the code:
Set wField = WordDoc.Fields(WordDoc.Variables("strReportHeader1").Index)
Set wRange = wField.Code
wRange.ParagraphFormat.Alignment = IIf(RTL, wdAlignParagraphRight,
wdAlignParagraphLeft)
The code does not align the text to the right (IIF returns 2,which is
wdAlignParagraphRight)
(((((((
Please advise
Guy
I use VB6 to create a Word document from an existing "template" I made.
This is a piece of the code:
Set wField = WordDoc.Fields(WordDoc.Variables("strReportHeader1").Index)
Set wRange = wField.Code
wRange.ParagraphFormat.Alignment = IIf(RTL, wdAlignParagraphRight,
wdAlignParagraphLeft)
The code does not align the text to the right (IIF returns 2,which is
wdAlignParagraphRight)
Please advise
Guy