Size of ".doc" and ".dot" files
From: Lauro (colasanti_at_XXXmclink.it)
Date: 03/14/04
- Next message: Dave Neve: "Re: Simple code that works step by step but not alone"
- Previous message: Mark Hammer: "Re: Set datasource for template in code w/no user intervention"
- Next in thread: Peter Hewett: "Re: Size of ".doc" and ".dot" files"
- Reply: Peter Hewett: "Re: Size of ".doc" and ".dot" files"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Dave Neve: "Re: Simple code that works step by step but not alone"
- Previous message: Mark Hammer: "Re: Set datasource for template in code w/no user intervention"
- Next in thread: Peter Hewett: "Re: Size of ".doc" and ".dot" files"
- Reply: Peter Hewett: "Re: Size of ".doc" and ".dot" files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|