I am testing the process of removing indents from headings. I created a manual tab indent (pressed Tab and created an indent for the heading text). Now I want to remove this indent by code. I tried the following:
oPara.Outdent
oPara.TabIndent(-1)
oPara.TabStops.ClearAll
The above codes were tried individually and collectively. I was not able to clear the indent created.
Howeve, if I create an indent by pressing the 'Indent' icon on the menu bar, I could clear it by oPara.Outdent.
If I create an indent by code e.g. oPara.TabIndent(1), I could clear it by the code oPara.TabIndent(-1).
Can anyone suggest how best I can remove a manually created Tab indent by code
Thanks in advance.