R
RichardOnRails
I've got the following snippet in my macro that sets the font I want,
the backgroud I want, etc. What it doesn't do is move the selected
text to the left margin so that the two indents function properly.
When I first record the operations I wanted, the InchesToPoints
argument was (-0.4) or something like that; I can't remember exactly
what it was. I changed it to (-2.0), I think, with the expectation
that it would move the text exactly to the left margin.
However, the way it's coded now, the text get's shoved to the left
margin and ignores the two indents. Is there a way to say "shift to
the left margin" so the the two indents function properly?
Here's my problematic part of my macro:
With Selection.ParagraphFormat
.LeftIndent = InchesToPoints(-2#)
.SpaceBeforeAuto = False
.SpaceAfterAuto = False
End With
Selection.Paragraphs.Indent
Selection.Paragraphs.Indent
Thanks in Advance,
Richard
the backgroud I want, etc. What it doesn't do is move the selected
text to the left margin so that the two indents function properly.
When I first record the operations I wanted, the InchesToPoints
argument was (-0.4) or something like that; I can't remember exactly
what it was. I changed it to (-2.0), I think, with the expectation
that it would move the text exactly to the left margin.
However, the way it's coded now, the text get's shoved to the left
margin and ignores the two indents. Is there a way to say "shift to
the left margin" so the the two indents function properly?
Here's my problematic part of my macro:
With Selection.ParagraphFormat
.LeftIndent = InchesToPoints(-2#)
.SpaceBeforeAuto = False
.SpaceAfterAuto = False
End With
Selection.Paragraphs.Indent
Selection.Paragraphs.Indent
Thanks in Advance,
Richard