Results 1 to 14 of 14
  1. #1
    Star Lounger
    Join Date
    Sep 2001
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dotted Border increases file size (97 / 2000)

    When I use a dotted border on either a table or a paragraph, my Word document grows by at least 2MB (!). I'm able to reproduce this behavior on different machines and different installations. Does anyone have an idea how to circumvent this? (Except not using dotted borders?)
    Thanks in advance for your help

  2. #2
    BAM
    Guest

    Re: Dotted Border increases file size (97 / 2000)

    Does this happen in just one document or any document you create?

    Are you using a border from the available border styles or a graphic? If graphic then this would explain the increase in file size.

    Do you have "Track Changes" turned on? Take a look under Tools/Track Changes/Highlight Changes. If "Track changes while editing" is turned on then that could explain it. Revisions are still being tracked even though they may be hidden from view. If this is the case, go to Tools/Track Changes/Accept or Reject and Accept All.

    Check that Fast Saves are not enabled under Tools/Options/Save.

    Also check File/Versions and make sure "Automatically save a version on close" is not turned on.

    Otherwise, can you attach a sample file? Of course it would be one prior to adding the borders. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> If you do attach a file, please be specific as to which border style you are applying so we can properly duplicate the situation. To obtain this information, apply the border you are using to any paragraph, press <Shift F1> and click the paragraph mark. The border information should be listed in the Reveal Formats.
    ~~~~~~~~~~~~~
    Cheers! <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>

  3. #3
    New Lounger
    Join Date
    Jan 2001
    Location
    Sydney, New South Wales, Australia
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dotted Border increases file size (97 / 2000)

    G'day Hedgehog,
    I've had this problem and it sent my hair grey.
    I don't know what causes it but I know how to fix it - sorta:
    Save the offending document in rich text format.
    Open the RTF file from windows (Word will prompt you to convert from RTF - click OK)
    Save the RTF as a Word *.doc file.
    This seems to kill the file bloat.

    Myself, I like to use the fine grey dotted border to create any form that I suspect my users are going to fill in handwriting; and in any event it makes for ease of eye.
    It galls me no end that W was bloating out any file that I implemented this in.

    HTH, cheers
    Bede

  4. #4
    Star Lounger
    Join Date
    Sep 2001
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dotted Border increases file size (97 / 2000)

    Hello Bede
    Thanks for the tip, this seems to solve the problem. Still it was quiet a lot of work to reformat the template, reapply the VBA code and all bookmarks. So if somebody knows a less painful way, I would really appreciate it, since it would prevent me from retesting the entire code with the new template.
    Thanks again,
    hedgehog

  5. #5
    BAM
    Guest

    Re: Dotted Border increases file size (97 / 2000)

    Since saving it as RTF and then back as a Word doc again decreases the file size then that points to one of two things:

    * The document is on the verge of corruption
    * Metadata is being saved with the file

    File corruption can be handled several ways. Here are some other methods you can try:

    - Use File/Insert and insert the contents of the possible corrupt file into another
    - Copy everything except for the last paragraph mark into a new document
    - If the document contains sections, copy all but each section break into a new document

    As for metadata, did you look at any of the suggestions I offered?
    ~~~~~~~~~~~~~
    Cheers! <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>

  6. #6
    Star Lounger
    Join Date
    Sep 2001
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dotted Border increases file size (97 / 2000)

    Sorry for not replying earlier, but I was on the road and had no possibility to upload a file. But here it is.
    I already deleted all formatting, all document variables, all macro code and all bookmarks, but the behavior is still the same.
    1) Select the table and reformat the border to a dotted line (using Format-Borders), save the file and it grows by at least 1 MB.
    2) Reformat the border to a "normal" line and save again: The file shrinks.
    I checked all metadata, but everything was switched off (as is the standard setting on my machine).

    I fear, that I have to live with this behavior or recreate all templates showing this anomaly. (But I would really like to avoid this, because I do have a complete VBA application connected to those templates and I would like to avoid another retest.

    Thanks for your help.
    Attached Files Attached Files

  7. #7
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Fishburn, Durham, England
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dotted Border increases file size (97 / 2000)

    amazing -- I was able to recreate the file size growing. I hope somebody out there figures out why, it was weird. Maybe it 's because word automatically puts an unbroken line in then has 'instructions' running in the background to cut the holes out?

    Sorry I can't help....

  8. #8
    2 Star Lounger
    Join Date
    May 2001
    Location
    Columbia MD USA
    Posts
    107
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Dotted Border increases file size (97 / 2000)

    Interestingly enough, I couldn't duplicate this in Word 2002....

  9. #9
    3 Star Lounger
    Join Date
    Feb 2001
    Location
    Willow Grove, Pennsylvania, USA
    Posts
    205
    Thanks
    4
    Thanked 49 Times in 40 Posts

    Re: Dotted Border increases file size (97 / 2000)

    In Word 2000, the file grows from 20KB to "only" 397KB with the small dashes, 262KB with the large dashes, and 149KB with the dot-dash line. <img src=/S/hairy.gif border=0 alt=hairy width=15 height=15>

  10. #10
    BAM
    Guest

    Re: Dotted Border increases file size (97 / 2000)

    You need to go to File/Properties and remove the "Save preview picture" option. The border style is causing a bloated image to be embedded with the document, thus increases the file size and later it could lead to document corruption.

    Unfortunately you'll need to do this at the template level since all new documents will inherit this option and it is one of the leading causes of corruption.

    You could use a macro called AutoNew that turned this option off, however its not necessarily a simple task since this optopn is not available in the DocumentProperties collection. Not even a command in WordBasic for this. <img src=/S/frown.gif border=0 alt=frown width=15 height=15>

    The only way I know is to use a couple SendKeys statements and the properties dialog box:
    <pre>Sub AutoNew()
    SendKeys "%v"
    SendKeys "{Enter}"
    CommandBars.FindControl(ID:=750).Execute
    End Sub
    </pre>


    Although you might be able to use the Dsofile.exe for this. More info can be obtained from:
    <A target="_blank" HREF=http://www.mvps.org/word/FAQs/MacrosVBA/DSOFile.htm>http://www.mvps.org/word/FAQs/MacrosVBA/DSOFile.htm</A>
    ~~~~~~~~~~~~
    Cheers! <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>

  11. #11
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Dotted Border increases file size (97 / 2000)

    Hi,

    Very interesting reading about causes of file size increase and MANY thanks for the info about the file listing. I have made my own based on the same DLL, but this one is much better.

    I tried it and found some q 's to ask:

    The move up did not function; may be caused by a setting in my Word (2000 SR-1)

    Is it possible to have the Folder name printed in the first row of each new folder? This will make it even more surveyable.

    Is it possible to make the last chosen parameters to be shown the next time one starts the macro? I guess I must edit in the macro to have it to display a standard set of chosen parameters ?

    Many thanks BAM

    Regards
    Bj

  12. #12
    BAM
    Guest

    Re: Dotted Border increases file size (97 / 2000)

    Hi Bj

  13. #13
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Dotted Border increases file size (97 / 2000)

    Thanks BAM for the information!

    I will have a closer look into the listing macro when spare time allows.

    And I will put forward a question to Jonathan.

    Thanks again and have a nice week end.

    Regards
    Bj

  14. #14
    Star Lounger
    Join Date
    Sep 2001
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks

    Hello Bam

    You are incredible. I searched for hours but did never even think about the preview picture. This saved me a lot of work.

    Thanks again
    hedgehog

Posting Permissions

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