Results 1 to 5 of 5
  1. #1
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Haunted Document Styles - Presto Change-o! (2002/XP SP1)

    Let me first state what has happened - more than once.

    When working with a large Word document (in excess of 80 pages), there are times when the document's styles appear to arbitrarily change. By this I mean that bulleted lists - not all of them, mind - suddenly become standard paragraph text. I also have two plain-text styles that use a highlight color - blue background for normal text, red for error text - and the blue background suddenly becomes red, and appears as the "error" style. None of the formatting changes are consistent.

    Now: I suspect that auto-format and auto-correct are responsible for most of these "arbitrary" changes. What I am trying to determine here is whether other folks have had things like this happen to them. Ultimately, I would like to prevent this from happening, because it requires painful re-editing to correct if the document is saved before I notice the changes.

    Are there any known issues with how styles are handled in Word 2002?

    Can I reveal the hidden characters and possibly see what is causing this?

    I'm about ready to move back to WordPefect 5.1!!
    -Mark

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    New York
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Haunted Document Styles - Presto Change-o! (2002/XP SP1)

    I sounds like you are doing direct formatting within the document of text and of styles -- rather than defining the styles in the underlying template. And are using AutoFormat.

    I've been using Word sine it was called Opus, and have never once used AutoFormat. A wasted feature as far as I'm concerned.

    It's also possible that you have your styles (either one or several) defined as "Automatically Update" -- this can be confirmed (or not) by looking under Format Style/Modify. Is there a check in Automatically Update.

    This is another wonky feature. Whenever you make a direct formatting change to a paragraph, Word assumes you want to save that change to the underlying style. In an effort to dumb down Styles the Word Team (inmho) has actually introduced confusions and features which are downright dangerous.

    Nope, there's no such thing as reveal codes in Word.

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Haunted Document Styles - Presto Change-o! (2002/XP SP1)

    Well, your deductive powers are second to none, Guy. <img src=/S/smile.gif border=0 alt=smile width=15 height=15> This was a document I inherited from my boss, and he had used direct formatting all over the place. I thought I had removed it using CTRL+SHIFT+Z after selecting all of the text.

    I believe there are several styles that are set to update automatically, because I never thought twice about it being checked off. The question here is, can the automatic updating be stopped once it's enabled? This was what I had in mind with the codes - namely, the fields. I've always missed that Word has no reveal codes feature but then it's not feasible either, given that the document is formatted a page at a time instead of WP's line by line.

    I am sorely tempted to save the document as plain text, and then spend my effort reformatting it without automatic anything enabled. I turn off nearly all of those auto-wizards on my workstations, but that doesn't stop a reviewer from mangling it in that way. But I am going to work the angle of removing automatic updates wherever they can be found....time to get out those macro writing goggles. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    -Mark

  4. #4
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    New York
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Haunted Document Styles - Presto Change-o! (2002/XP SP1)

    <pre>
    Sub NoAutoUpdateStyles()
    Dim objStyle As Style
    For Each objStyle In ActiveDocument.Styles
    objStyle.AutomaticallyUpdate = False
    Next objStyle
    End Sub
    </pre>


    This should remove all AutoUpdate for styles in a document.

    I don't think you need to save to plain text. Do a reset Paragraph and reset Font (Ctrl+Q and Ctrl+SpaceBar) on the whole document. Then define the styles that are in use carefully -- could even save the document out (without text only styles) as a template for future versions of similar documents -- then you can copy styles from template to doc.

    Whenever one is going to work with a class of documents -- it's worth the bother to think through the styles that will be used and create a template -- using things like based on and following style -- not to mention keyboard shortcuts -- can really save time.

  5. #5
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Haunted Document Styles - Presto Change-o! (2002/XP SP1)

    Again, Guy, thanks - I truly appreciate you banging out a macro for me. I've combined it with the following code, grabbed from the MVPs.org website, to tame all of this automatic gimcrackery that is driving me bananas:

    <pre>Sub AutoExec()

    With Dialogs(wdDialogToolsOptionsGeneral)
    .WPHelp = 0
    .WPDocNavKeys = 0
    .Execute
    End With

    With AutoCorrect
    .CorrectInitialCaps = True
    .CorrectDays = True
    .CorrectCapsLock = True
    .ReplaceText = True
    End With

    With Options
    .UpdateLinksAtPrint = True
    .PrintDrawingObjects = True
    .AutoFormatAsYouTypeApplyHeadings = False
    .AutoFormatAsYouTypeApplyBorders = False
    .AutoFormatAsYouTypeApplyBulletedLists = False
    .AutoFormatAsYouTypeApplyNumberedLists = False
    .AutoFormatAsYouTypeApplyTables = False
    .AutoFormatAsYouTypeReplaceQuotes = True
    .AutoFormatAsYouTypeReplaceSymbols = True
    .AutoFormatAsYouTypeReplaceOrdinals = False
    .AutoFormatAsYouTypeReplacePlainTextEmphasis = True
    .AutoFormatAsYouTypeFormatListItemBeginning = False
    .AutoFormatAsYouTypeDefineStyles = False
    .AutoFormatApplyHeadings = False
    .AutoFormatApplyLists = False
    .AutoFormatApplyBulletedLists = False
    .AutoFormatApplyOtherParas = False
    .AutoFormatReplaceQuotes = True
    .AutoFormatReplaceSymbols = True
    .AutoFormatReplaceOrdinals = False
    .AutoFormatReplacePlainTextEmphasis = False
    .AutoFormatPreserveStyles = True
    .AutoFormatPlainTextWordMail = True
    End With

    End Sub]</pre>

    Between tyour macro to clean up the existing auto-format and this one to turn off those "features", I think I may wind up with a useable copy of Word XP! <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>
    -Mark

Posting Permissions

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