templates getting bigger and bigger

L

Larry

My Normal template in my Word 97 is now at 1.87 MB, my main global
add-in template at 1.67 MB. Year by year, they keep getting bigger. So
far the size doesn't seem to present any problems, thankfully.

I use the Code Cleaner from time to time to reduce the size, but it
doesn't make a significance difference.

Larry
 
J

Jonathan West

Hi Larry,

I would suggest for both normal.dot and your add-in you create a new blank
template, use the Organizer dialog to copy all your code, styles, toolbars
etc to it, and then continue working from there.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
L

Larry

Hi Jonathan,

I assume this is to create smaller templates?

However, when I did this for Normal, the replacement template was
missing the custom menus in the menu bar of the old Normal template. To
keep the custom menus, I think I would have to create a "transitional"
toolbar in the old Normal, drag the custom menus onto that, then use
Organizer to copy the transitional toolbar into the new Normal, and drag
the menus onto the menu bar in the new Normal.

Larry
 
J

Jonathan West

Larry said:
Hi Jonathan,

I assume this is to create smaller templates?

Correct. Also to reduce the risk of code running in bloated templates
causing page fault and other errors.
However, when I did this for Normal, the replacement template was
missing the custom menus in the menu bar of the old Normal template. To
keep the custom menus, I think I would have to create a "transitional"
toolbar in the old Normal, drag the custom menus onto that, then use
Organizer to copy the transitional toolbar into the new Normal, and drag
the menus onto the menu bar in the new Normal.

Yes. Unfortunately the Organizer only copies whole toolbars. The approach
you have described is the best I can think of.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
L

Larry

Whoops, it's more complicated than just copying my two or three custom
menus. All the menus must be copied, since all my menus have
customizations in them.
 
L

Larry

I put all my menus from my old Normal onto the transitional toolbar.
But when I opened the new Normal, all of of my custom key assignments
were gone. Zero. So it seems that creating a new template and then
copying the Projects and everything into it from the old Normal via
Organizer does not transfer all the information.

Larry
 
L

Larry

I think I'd have to use the Shortcut Organizer to copy all the key
assignments to the new Template.

I have, ahem, 470 key assignments.

Larry
 
Top