Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2005

Tip: Looking for answers? Try searching our database.

templates getting bigger and bigger

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Larry - 05 Aug 2005 06:19 GMT
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
Jonathan West - 05 Aug 2005 11:11 GMT
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.

Signature

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

> 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
[quoted text clipped - 4 lines]
>
> Larry
Larry - 06 Aug 2005 12:16 GMT
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

> Hi Larry,
>
[quoted text clipped - 11 lines]
> >
> > Larry
Jonathan West - 06 Aug 2005 12:29 GMT
> 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.

Signature

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 

Larry - 06 Aug 2005 21:06 GMT
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.

> > Hi Jonathan,
> >
[quoted text clipped - 13 lines]
> Yes. Unfortunately the Organizer only copies whole toolbars. The
> approach you have described is the best I can think of.
Larry - 06 Aug 2005 21:17 GMT
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

> 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
[quoted text clipped - 17 lines]
> > Yes. Unfortunately the Organizer only copies whole toolbars. The
> > approach you have described is the best I can think of.
Larry - 06 Aug 2005 22:32 GMT
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

> 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
[quoted text clipped - 25 lines]
> > > Yes. Unfortunately the Organizer only copies whole toolbars. The
> > > approach you have described is the best I can think of.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.