Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Dec 2003
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Styles (Word 2000)

    Every time someone else edits our documents, the styles seem to have additional text added to them. For example, Body Text starts off clean, then ends up being "Body Text, Text, WEI body text" , i.e. picking up from their style names. What can we do to prevent this - we are using Word 2000. Is this just a bug? It is so annoying! <img src=/S/crazy.gif border=0 alt=crazy width=15 height=15>

  2. #2
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,055
    Thanks
    2
    Thanked 417 Times in 346 Posts

    Re: Styles (Word 2000)

    Hi Noote,

    I suspect this is happening because the other users are copying & pasting material from another document that has the extra text added to the style name. If they were to paste the copied material as unformatted text, you wouldn't have that problem - but then they'd not get any of the other font attributes that were in the original either.

    Cheers
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,853
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Styles (Word 2000)

    The cause is as macropod says - people are pasting content from other documents which do have those style aliases in them.

    I use a macro to remove all aliases in the document. It looks like this...
    <pre>Sub RemoveAllStyleAliases()
    Dim aStyle As Variant, iPos As Integer
    For Each aStyle In ActiveDocument.Styles
    iPos = InStr(1, aStyle, ",")
    If iPos <> 0 Then
    aStyle = Left(aStyle, iPos - 1)
    On Error Resume Next
    ActiveDocument.Styles(aStyle).NameLocal = aStyle
    On Error GoTo 0
    End If
    Next aStyle
    End Sub</pre>

    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

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