Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Mar 2002
    Location
    Omaha, Nebraska
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Table Not Accepting Style (Word 2000 SR-1)

    I have defined a paragraph style that is basically, Normal + Blue + Hidden. When I select a table in Word and Apply this style to it, everything seems fine. I also have a routine that basically toggles whether any text that has the 'hidden' attribute (no matter what the style is as long as it is also marked 'hidden') is displayed or hidden. Prior to saving the document, the toggle routine completely hides the table and it's text. However, when I save, close, and reopen the document, the toggle routine doesn't work correctly on the table any more... The text of the table is hidden, but the table itself remains. With all of Word's formatting marks turned on, I can see the 'tablerow' marks after each line of the table. Prior to saving the document, these 'tablerow' marks are also marked as my style. After saving, closing, and reopening, the 'tablerow' marks are marked as normal text. (Therefore causing the toggle routine to not hide them...) Any ideas as to why the 'tablerow' marks are being reset to normal? This is the only table on the line, and it doesn't appear to matter what style of table I use.

    Another interesting note, the documents that I'm working with were originally created in Word 97. On Tables that have been in the documents since then, the 'tablerow' marks remain with the appropriate style. It only seems to be on tables that are added to the documents now. (Even if I copy and paste one of the existing tables, the new table encounters this behavior.)

    Any ideas would be helpful and appreciated.

  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: Table Not Accepting Style (Word 2000 SR-1)

    It sounds like more than one thing is going on.
    1. You say that with hidden text turned on, you can see the row markers. I'm not sure whether you're referring to End of Cell markers or gridlines. Either way, these are items that can be hidden from view or shown. Gridlines are under the Table menu. The show/hide button will toggle seeing the end of cell markers.

    2. If your styles are changing when you reopen a file, check under Tools/Templates & Add-ins... & see if automatically update document styles is turned on. Turn it off. Also, check under Tools/Options/Compatibility to see that it's set for Word 97 documents when you open such documents.

    Hope this helps.

  3. #3
    New Lounger
    Join Date
    Mar 2002
    Location
    Omaha, Nebraska
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table Not Accepting Style (Word 2000 SR-1)

    I'm referring to the square markers that are at the end of each line outside of the actual table, not the square markers that are inside of each cell. When I have them visible (through the show/hide button), I can select them (like selecting the paragraph marker at the end of a paragraph) and see that the style is the appropriate style. When I close and reopen the document and then reselect the marker (again, any of the ones outside the actual table at the end of each table row) the style of the marker has been changed to normal.

    'Automatically update document styles' is turned off and Word 97 compatibility options are selected.

    It appears that the row markers don't want to keep the paragraph formatting of my style. Maybe I should be using a different kind of style? (Although, the only two types I know are character and paragraph, and character formatting wouldn't seem like the right choice...)

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

    Re: Table Not Accepting Style (Word 2000 SR-1)

    I misunderstood the first part of your post. OK, I understand now that you're talking about the End of row markers. So far as I'm aware, these don't contain paragraph formatting. The next row will format cells the way the end of cell markers in the column above are formatted.

    I actually never noticed this before. For what it's worth, I find the same behavior, but this doesn't affect any of the text inside the table. Even if you were to format the end of row marker with direct formatting or with character formatting, (which will show up in the style box) that will not influence the formatting of inserted rows or inserted columns or the size of text or cells. As far as I can tell, it has no affect (other than to be a little irritating <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>).

  5. #5
    New Lounger
    Join Date
    Mar 2002
    Location
    Omaha, Nebraska
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table Not Accepting Style (Word 2000 SR-1)

    I agree, they don't affect the formatting of the text within the cells. However, being that they are reset to normal when the document closes, the macro that I have to toggle hidden/optional text (We have several styles that include the font.hidden=true property) is only able to hide the text inside the table, not the entire table itself. When those row markers are still formatted properly, the macro is able to hide the entire table.

    I've thought about modifying the macro to check if it's working on a table and if so, reapply to formatting to the table (including row markers) and then perform the hide.
    OR
    Possibly creating an AutoOpen routine that reapplies the style, but out of 1500 docs, only 150 have tables, so that would probably be overkill.

    Since it appears that this is 'normal' Word behavior (the reformatting of the row markers on tables), I guess I'll have to come up w/ a work around. <img src=/S/disappointed.gif border=0 alt=disappointed width=15 height=15>

Posting Permissions

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