Women in Technology

Hear us Roar



Article:
  Hacking Word
Subject:   Hack #55: Clean Out Linked “Char” Styles
Date:   2005-12-12 08:45:56
From:   Firbolg
Response to: Hack #55: Clean Out Linked “Char” Styles

Hi,


I also tried the Char Char macros and they just go into an endless loop.


Fir.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Andrew Savikas photo Hack #55: Clean Out Linked “Char” Styles
    2005-12-12 08:52:24  Andrew Savikas | O'Reilly AuthorO'Reilly Blogger [View]

    Hi Firbolg,

    Sorry you had trouble with the macro. Tackling the "Char Char" problem was thorny, and this macro is certainly a "hack" indeed. I have occasionally had an issue with infinite looping on particularly bad documents (with many, many of those styles). In those situations, I use a slightly modified version of the XSLT stylesheet shown in Hack 98 of the book. Unfortunately, that only works with Word 2003. If you are running Word 2003, I suggest trying that method out, as it's far more reliable than VBA at cleansing this sort of thing.

    If you'd like, you can send me the document that's looping (you can remove the text), and I'd be happy to take a look at it. andrews at oreilly dot com.

    Cheers,
    Andrew Savikas