Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Sunrise, Florida
    Posts
    324
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Test for Numbers (Word 2K)

    I want to test from VBA if the cursor is in a numbered paragraph or not so I can perform some action. Any suggestions on how to accomplish this are appreciated. Thanks in advance!!

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Test for Numbers (Word 2K)

    Check the value of
    selection.Range.ListFormat.ListType
    compare it with values of
    wdListBullet, wdListListNumOnly, wdListMixedNumbering, wdListNoNumbering, wdListOutlineNumbering, wdListPictureBullet, wdListSimpleNumbering

    StuartR

Posting Permissions

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