> Hi NG
>
[quoted text clipped - 3 lines]
> My question is, is there a limitation in size or numbers of procedures
> in a dot-file ?
I would worry about a file that is mostly code and has gotten above 1Mb.
Take a look at this article
Combatting Template Bloat
http://www.word.mvps.org/FAQs/MacrosVBA/TemplateBloat.htm

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Hubert Ackermann - 20 Jun 2007 22:46 GMT
Hi Jonathan
Thank you for the fast hint. I will check this tomorrow.
Greets
>> Hi NG
>>
[quoted text clipped - 9 lines]
>Combatting Template Bloat
>http://www.word.mvps.org/FAQs/MacrosVBA/TemplateBloat.htm
Hi Hubert,
>My question is, is there a limitation in size
>or numbers of procedures in a dot-file ?
in theory, I'd say for the size it is 32 MB.
But that is not your problem.
IMHO, there is an unknown border of complexity
for a Word document and for templates.
But that is theory, too.
I'd try to export the code.
Setup a new, clean dot
and import the code.
see:
http://www.word.mvps.org/FAQs/MacrosVBA/TemplateBloat.htm

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Hubert Ackermann - 20 Jun 2007 22:54 GMT
Hi Helmut
Thanks for your fast advice. I will try this tomorrow doing it
programmatically.
Greets to the "befreundete Ausland" ;)
Hubert
>Hi Hubert,
>
[quoted text clipped - 14 lines]
>see:
>http://www.word.mvps.org/FAQs/MacrosVBA/TemplateBloat.htm