
Problem with custom toolbar in custom template
Hi all,
I am preparing a custom template (My.dot). Users will
create new documents from this template by double-clicking
it or right-click and select "new".
The template creates a custom toolbar using:
Dim cb As CommandBar
Set cb = Application.CommandBars.Add(BarName, msoBarTop,
False, True)
and some buttons... This code is triggered from:
Private Sub document_new() in ThisDocument.
Ok, so toolbar loads fine when creating a new doc.
Problem: when user quits word, he/she is prompted "Do you
want to save the changes you made to My.dot?"
Question: How do I code around this?
/A