Results 1 to 7 of 7
  1. #1
    New Lounger
    Join Date
    Jan 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Style name gets 'Char' added to end after copying (Word 2002)

    <img src=/S/bash.gif border=0 alt=bash width=35 height=39>
    I've defined my own styles in a Word template, and they work fine. But if I copy a paragraph and paste it somewhere else in the same document, Word sometimes changes the name of the style - it adds 'Char' on the end. This causes me a problem because I have some toolbar buttons that apply my favorite styles - and of course they don't work after Word has changed the style name. It only happens about 70% of the time and I can't work out what triggers it.
    Does anyone know what's going on here? And most importantly, how can I stop it?
    I have already turned OFF the setting about 'define styles based on my formatting'.

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Style name gets 'Char' added to end after copying (Word 2002)

    Hi Linda:
    I'm not familiar with Word 2002, but so far no one else has jumped in. I can tell you this much. When you paste text from another document, Word follows these rules:
    Formatting rules are:
    1. Text copied with a paragraph mark copies all paragraph, character, and style formatting.
    2. Text copied without a paragraph mark copies only Character formatting.
    3. Text adopts the format of the target document's style if the incoming style name is already used in the document.
    4. Text resets the style in the target document if the incoming style has not been used.
    5. Incoming direct character formatting overrides style character formatting.
    6. Headings 1, 2 and 3 are always "used", since they and Normal style automatically exist in any document created.

    From your description, I'm guessing that you have a character style that you're pasting into your document. In Word 2000, the "Char" is not appended to the stylename, but the stylebox contains a small underlined "a", which designates a character style.

    If the Options are the same in 2002 as 2000, you should turn off the following:
    1. Under Tools/AutoCorrect/AutoFormat as you type: almost everything under "Apply as you type" & "Automatically as you type".
    2. Also, make sure that Tools/Templates & Add-ins doesn't have "Automatically update document styles" ticked.
    3. Under every style listed in Format/Styles/Modify..., make sure that "update automatically" isn't ticked. Gary Frieder has posted a macro in this forum that will turn off that option for all styles. Just search under "update automatically".

    If your toolbar buttons apply a style, they should work even after you paste text. One thing you can do is open your template (not a document based on your template) & go through and apply each style under Format/Style (where you first list all styles). You don't actually have to type any text. Then save your template. From now on, ALL styles in your template will be used.

    Hope this helps. Please post back & let us know if this works or not.

  3. #3
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: Style name gets 'Char' added to end after copying (Word 2002)

    I also do not have Word 2002 up on my system yet. Word 2002, though, has added a hybrid style type of paragraph and character. My guess is that you may not be copying the paragraph mark of the paragraph where the style is used. This could induce Word to copy the style as either a hybrid or a character style.
    Charles Kyle Kenyon
    Madison, Wisconsin

  4. #4
    New Lounger
    Join Date
    Jan 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Style name gets 'Char' added to end after copying (Word 2002)

    Thanks for your comments I really appreciate your time.
    I'm quite proficient with styles and formatting, and I just can't work out what Word is doing here.
    I've already turned off all the options you mentioned, and I'm only pasting into the same document, not a different one.
    The style name is definitely changed. Word does not make an extra style - the one I already had is updated and has Char on the end. In fact I've even copied a paragraph with the altered style and Word has produced another style with Char Char on the end !!
    So because Word is renaming my existing style, that's why my toolbar button doesn't work.
    My only workaround at the moment is that when I notice that Word has done this I have to manually rename the style back to what it was before. Crazy huh !
    Thanks again for trying to help.

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Style name gets 'Char' added to end after copying (Word 2002)

    Hi Linda:

    Sorry for all the detail; I couldn't tell what you already knew & didn't. Anyhow, did you check the equivalent for XP of going to Format/Style/ selecting your style/Modify & making sure that "Automatically update" isn't ticked there also? If that isn't it, must be a new "feature" in XP. Don't you just love it. <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23>

  6. #6
    Lounger
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Style name gets 'Char' added to end after copying (Word 2002)

    Lynda

    Don't know if you are still on this email address, but did you ever resolve this issue? I work for a legal firm in Australia and experience this very same problem. It is causing real problems for us as I have an 'update style' button on a toolbar that re-copies the underlying styles. This button is very important for refreshing the styles. However, it will not work when there are these hybrid or corrupt styles in the document.

    I have also found that when a document has these styles and is edited over and over again with track changes selected, the styles become more corrupt and the document will eventually crash.

    I believe this is still a problem in Word 2003, however I have not yet tested in Word 2007.

    Can anyone help?

    Cathy

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

    Re: Style name gets 'Char' added to end after copying (Word 2002)

    As you can see, this problem has been around for a long time. You can't innoculate against the problem (other than modifying your own behaviour when you understand the cause) but once it has occurred, the only sensible solution is to use a macro to remove the linked Char styles. There are alternatives in the macros you could use but here are a couple of links which you may find useful.
    Evil Word Char Char Styles Thread
    http://www.windowsdevcenter.com/pub/a/wind...dex.html?page=2
    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
  •