MS Office Forum / Word / Long Documents / March 2004
Styles don't apply in Word 2003
|
|
Thread rating:  |
Nancy C. - 12 Feb 2004 05:02 GMT I have just recently started using Word 2003.
Whenever I open a new blank document and try to apply Heading 1 to text, I get a new "Heading, 1" style, but none of the formatting of Heading 1 is applied. It does the same if I click Heading 2, except the "Heading, 1" turns into "Heading, 2"
In addition, I can't modify the built-in heading styles, if I try I get the meesage, "This style name already exists or is reserved for a built-in style."
I have downloaded and installed the updates, and tried a new Normal.dot, turning off Keep track of formatting, and uninstalling and reinstalling Word.
Just when I thought I was getting a handle on Word...
Suzanne S. Barnhill - 12 Feb 2004 05:34 GMT If you're in Normal view, make sure you don't have "Draft font" enabled (View tab of Tools | Options). Also, in Outline view, you can choose to display formatting or not.
-- Suzanne S. Barnhill Microsoft MVP (Word)
 Signature Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://www.word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
> I have just recently started using Word 2003. > [quoted text clipped - 13 lines] > > Just when I thought I was getting a handle on Word... Nancy C. - 13 Feb 2004 02:53 GMT Thank you very much for reply. Would you have another suggestion? It still isn't working.
>-----Original Message----- >If you're in Normal view, make sure you don't have "Draft font" enabled [quoted text clipped - 29 lines] > >. Klaus Linke - 15 Feb 2004 05:39 GMT > "Heading, 1", "Heading, 2" Hi Nancy,
How do you apply the styles?
From your description, it sounds as if you have a "Heading" style, and are somehow creating alias names ("1", "2") for it. Commas in style names mean you have several (alias) names for the same style.
Greetings, Klaus
Nancy C. - 15 Feb 2004 17:34 GMT Hi Klaus,
I am applying the style by either selecting the entire paragraph or just placing my cursor into the paragraph. I am careful not to select part of a word because I had run into the Char, Char, Char, style issue in earlier versions of Word, and apparently this was partly a result of selecting parts of your paragraphs and applying a style.
What is driving me nuts with this "Heading, 1" issue is that it happens even when I haven't made any changes to any styles. All I'm trying to do is apply one of the built-in heading styles. I open a blank document, type one line of text, apply Heading 1, and then get "Heading,1" in my style list, and my text doesn't look any different! The text should appear as the default Heading 1 style: Arial, 1 pt, Bold..., but its still the same Times New Roman, 12 pt.
If I then try to modify even just the font size in Heading 1, I get the message "This style name already exists or is reserved for a built-in style."
These are some of the things I've tried doing to fix it:
Un-installing all my programs, and re-installing Windows, & Office (just in case Word 2003 doesn't like hanging out with some of my other programs) Running a virus scan Confirming Keep track of changes is not selected Confirming Draft Font is not selected Following the suggestions in the Knowledge base article 821715 "HOW TO: Rename the Normal.dot Global Template in Microsoft Office Word 2003" which included trying the Troubleshoot utility in the Support Template.
Any other suggestions???? Please...
>-----Original Message----- >> "Heading, 1", "Heading, 2" [quoted text clipped - 12 lines] > >. Klaus Linke - 16 Feb 2004 11:57 GMT Hi Nancy,
I can't think of an explanation right now... Does it also happen when you apply the heading styles with Alt+Ctrl+1, Alt+Ctrl+2? Does it also happen with documents based on another template?
Klaus
Nancy C. - 16 Feb 2004 16:47 GMT I know it happens with documents based on another template. Someone had sent me a document that I had to make changes to and I had tried re-applying the Heading 1 style with no luck.
I will try the keyboard shortcut and let you know.
Thank you very much for all your suggestions.
>-----Original Message----- > [quoted text clipped - 8 lines] > >. Bob S - 27 Feb 2004 02:55 GMT >I have just recently started using Word 2003. > [quoted text clipped - 13 lines] > >Just when I thought I was getting a handle on Word... One of the advantages of using a brand new version of Word (i.e. any version that hasn't had at least two service releases) is that you get to deal with nice fresh bugs instead of the usual boring old stale bugs.
In this case it sounds as though Word has decided that your attempt to apply a style should be interpreted as an attempt to define a new style by example. Thus it creates a new style with the formatting that you have provided. Since you didn't have quotation marks around the two parts of the name, it apparently decided that they were a name and an alias.
The intriguing question is why Word performed this unnatural act when you simply tried to apply a style. Microsoft probably never actually tested it, but at least one beta tester must have applied a heading style at some point, and probably would have noticed this odd behavior if it happened to them.
So I suspect that one of your settings in Tools | Options must be unusual. Do you have anything interesting set in any option that involves what formats are displayed, or what happens when selecting?
Bob S
Hank Roberts - 11 Mar 2004 18:25 GMT Same problem (the apparently corrupt Styles like Heading 4 Char,Heading4 Char Char Char) with Word 2000 SR-2.
Any fix known yet? I have the same problem that Word will not allow replacing the messed up thing either by renaming it as "Heading 4" nor by using the Organizer to copy an unchanged Heading 4 in -- the 'name is reserved for a built in style' it thinks is already in use.
Only the old trick of stripping down to ASCII and replacing the Styles using John McGhie's venerable cleanup macros seems to salvage these documents, so far, in my experience. Nothing unusual in the settings/options here. -----
...
> One of the advantages of using a brand new version of Word (i.e. any > version that hasn't had at least two service releases) ... [quoted text clipped - 4 lines] > > Bob S Bob S - 19 Mar 2004 21:36 GMT >Same problem (the apparently corrupt Styles like Heading 4 >Char,Heading4 Char Char Char) with Word 2000 SR-2. [quoted text clipped - 3 lines] >by using the Organizer to copy an unchanged Heading 4 in -- the 'name >is reserved for a built in style' it thinks is already in use. This is a different problem, the notorious "Char Char" bug.
Word will create styles like "Heading4 Char" (i.e. with one Char) if you apply a paragraph style to a selection that is not a whole paragraph. Don't do this. If you are going to apply a paragraph style, select the entire paragraph. This can be done by double-clicking in the left margin, or by dragging to include everything including the paragraph mark, or several other ways. It also works to place the insertion point in the target paragraph with nothing selected.
Word is apparently not supposed to create styles with multiple Char suffixes. Various service packs are supposed to prevent new styles of this type from being created.
Documents that already have these evil styles are a PITA to clean up. Below are several suggestions that have been posted to the Word newsgroups. Adapt them as needed, substitute your problem style names, etc.
Bob S
----- Start quotes ---------
One user reports that the problem can be fixed by: a. Create a new paragraph style called "junk". b. Do a global replacement of "Body Text,Body Text Char Char Char" with "junk". c. Delete the "Body Text,Body Text Char Char Char" style. d. Using the Organizer, copy the "Body Text" style from the template into the document. e. Do a global replacement of "junk" with "Body Text". f. Review the document, restoring any direct formatting that was lost. (The only formatting that I observed to be lost was indentation. Font colors and hidden-text formatting appear to have been preserved.)
Another user reports that exporting to HTML and then converting back to DOC may help.
In most cases, you can clean the defective styles out of a document by using the following procedure for each style that has been damaged. This will not work for damaged heading styles, because Word will not allow you to delete them.
Create a new temporary style. Use Find and Replace to replace all occurrences of each defective version of the style with the temporary style. Delete the style for all the defective versions of the style. Close and re-open the document. Replace all occurrences of the temporary style with the real style.
Munango-Keewati has produced the macro below to change all the items formatted in a bad style back to Normal style and delete the bad style. This could leave you with a lot of re-formatting to do.
Sub StylesDeleteParaAndChar() ' Find and delete nasty "Paragraph and Character" styles For Each sty In ActiveDocument.Styles If ActiveDocument.Styles(sty).Type = wdStyleTypeCharacter Then vName = ActiveDocument.Styles(sty) vCk = Len(vName) - 4 If InStrRev(vName, " Char", -1) = vCk Then ActiveDocument.Styles(vName).LinkStyle = "Normal" ActiveDocument.Styles(vName).Delete End If End If Next sty End Sub
In order to get rid of such things without deleting the "true" style, you need to link the "Char" styles to another, "fake" style you can delete, using macro code:
Sub DeleteHeading2Char() Dim styl As Word.Style, doc As Word.Document Set doc = ActiveDocument Set styl = doc.Styles.Add(Name:="Style1") On Error Resume Next doc.Styles("Heading 2 Char").LinkStyle = _ styl styl.Delete End Sub
Cindy Meister
I built a macro to kill the thing, which follows. The code is aimed at my particular situation (and at restoring the style to the name pair I use for Body Text), but it should be adaptable to yours:
Sub ThrashUppityBodyTextStyle() Dim s As Style For Each s In ActiveDocument.Styles If s.Type = wdStyleTypeParagraph And _ Left(s.NameLocal, 11) = "Body Text,b" Then s.NameLocal = "Body Text,b" Exit For End If Next End Sub
I'm not sure I want to put this in Normal.dot's AutoOpen macro just yet, so that each doc I open would be checked & exorcised, but that might be the logical next step.
Mark Tangard
----- End quotes ---------
|
|
|