Size of ".doc" and ".dot" files

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Lauro (colasanti_at_XXXmclink.it)
Date: 03/14/04


Date: Sun, 14 Mar 2004 19:47:06 +0100

I'm confused about the relative size of a Template and a File based on
that Template.

I thougth that the size of the template didn't matter for the size of
the new document that uses that template, because all the code was
only in the Template.

It seems that I'm wrong:

I have a template very large (about 800 KB) with several macros,
toolbars, userforms, etc.

When I create a new document based on this template (without any text)
the new file is about 170 KB. (not the usual 19KB)

Moreover, I noticed a strange behaviour with the
ActiveDocument.AttachedTemplate propriety.

If instead of creating a new document based on my template, I create a
regular file (based on normal.dot) and THEN associate
via ActiveDocument.AttachedTemplate to my template, the file is about
20 KB.

Why should be different when the association file-template is done?

Since I designing a database with several word files based on my
template I'd prefer to keep the file size the smaller is possible.

thanks, Lauro



Relevant Pages

  • Re: Explicit function vs. overloaded operator?
    ... > Does he pass MyFunction objects to a template? ... > The conceptual advantage is that if class MyClass does just one thing, ... > I think this is a matter of style. ... Having an explicit function name might ...
    (comp.lang.cpp)
  • Automatically Update Document Styles
    ... go to Tools> Templates and Add-ins and attach ... Also select the "Automatically update" check box. ... to cause Word to leave the check box selected no matter what I do, ... If I attach to any other template, ...
    (microsoft.public.word.docmanagement)
  • Re: Document library content types
    ... for both content types (basic word document), ... My problem was that no matter which content type I ... document template in your content type, advanced settings. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Saving a setting for a document and template no matter who opens i
    ... Adrienne nous racontait que: ... Saving a setting for a document and template no matter who opens it ... Jean-Guy Marcil - Word MVP ...
    (microsoft.public.word.vba.general)
  • Re: shetland 535 windscreen
    ... I'm after a shetland 535 front shield /windscreen. ... It doesn't matter ... what condition it is in as I need it for a template. ...
    (uk.rec.waterways)