Results 1 to 5 of 5

Thread: To change paragraph styles in tables and add cell border, depending on the style used

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,273
    Location
    For problem 1, you might try changing:
    Case oCell.Range.Style
    to
    Case oCell.Range.Paragraphs.First.Style

    For problem 2, make sure the new Styles have the correct alignment.
    Last edited by macropod; 10-07-2024 at 02:24 PM.
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

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
  •