Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Apr 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word 2000 - Lists Bug? (9.0.2720)

    Hi, I'm developing in Word 2000 (version 9.0.2720) using Windows 2000 Advanced Server. Can anybody confirm please if this is a recognised bug?

    With this code in a loop:

    Application.ActiveDocument.Lists(i).ConvertNumbers ToText

    Word crashes every time if there is a numbered list in a text box within the document.
    Placing an "on error resume next" does not prevent the crash.

    Many thanks
    Dave G.

  2. #2
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word 2000 - Lists Bug? (9.0.2720)

    I'm on W2K SR-1- which is later than the version you have.

    Are we talking about the same tex box?

    I go Insert, Textbox, and then put a numbered list inside.

    When I run your code, I get an error message, "the requested member of the collection does not exist".

    I suspect you're doing something different from me..
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  3. #3
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts

    Re: Word 2000 - Lists Bug? (9.0.2720)

    Dave,

    If you are by any chance using the loop to get to every list in the document, you can bypass it with:

    ActiveDocument.ConvertNumbersToText wdNumberAllNumbers

    - this will also handle numbering in textboxes OK.

    If you are using the loop to get at only certain lists in the document, then no help.....

    Gary

  4. #4
    New Lounger
    Join Date
    Apr 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word 2000 - Lists Bug? (9.0.2720)

    Gary - many thanks for this.
    I've yet to try it - but could well provide the answer - its useful to know anyway.

    Thanks
    Dave

  5. #5
    New Lounger
    Join Date
    Apr 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word 2000 - Lists Bug? (9.0.2720)

    Hi Geoff

    Yeah - I get the same if the list is not numbered (in the main doc), but I still get a complete crash each time running it when there is a numbered list in a text box - no warning - no error messages - WORD just dissapears!

    Thanks
    Dave

Posting Permissions

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