Consulting

Results 1 to 3 of 3

Thread: Can I Query/Mirror INDENT?

  1. #1
    VBAX Regular
    Joined
    May 2019
    Location
    NJ
    Posts
    12
    Location

    Question Can I Query/Mirror INDENT?

    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
    Last edited by o1sowise; 05-30-2019 at 08:42 AM.

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    3,867
    Location
    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.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  3. #3
    VBAX Regular
    Joined
    May 2019
    Location
    NJ
    Posts
    12
    Location

    Exclamation Thanks Paul!

    Quote Originally Posted by macropod View Post
    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!
    Last edited by o1sowise; 05-31-2019 at 08:54 AM.
    -John

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •