PDA

View Full Version : Can I Query/Mirror INDENT?



o1sowise
05-30-2019, 06:40 AM
I've inserted new text using:Selection.InsertAfter NewText
I cannot figure out why the new text is indented differently than the text above it.
How do I query the text above and make the indent of the new text match it?

-John :hi:

macropod
05-30-2019, 05:22 PM
Indenting is a paragraph format property, so check that. Better still, check what Style is applied to the preceding content. Some Style definitions specify a different Style for the paragraph created by inserting a new paragraph after them.

o1sowise
05-31-2019, 06:03 AM
Indenting is a paragraph format property, so check that. Better still, check what Style is applied to the preceding content. Some Style definitions specify a different Style for the paragraph created by inserting a new paragraph after them.I had a feeling it had something to do with paragraph, but did not know that insert could have different properties. THANKS FOR THE POINTER!!!

THANK WAS IT!
Thanks again!