L
Lone K.
Hi,
I made a commandbar in at template to activate a form. This works fine, but
you can only run the form once in the template and I would therefore delete
the commandbar when activating the form. This works also fine - BUT now, I
got problems - because next time I activate the template, the commandbar is
gone...
I have tried different codelines like:
'ActiveDocument.CommandBars("Afregning").Visible = False
'CustomizationContext = ActiveDocument
'CommandBars("Afregning").Visible = False
But the Commandbar will not only disapear in the current document.
Do anyone know the code or reason? I cannot use autonew or anything starting
with the template cause the the template is starting up in IE, and that do
not work.
Hope for answers
Lone
I made a commandbar in at template to activate a form. This works fine, but
you can only run the form once in the template and I would therefore delete
the commandbar when activating the form. This works also fine - BUT now, I
got problems - because next time I activate the template, the commandbar is
gone...
I have tried different codelines like:
'ActiveDocument.CommandBars("Afregning").Visible = False
'CustomizationContext = ActiveDocument
'CommandBars("Afregning").Visible = False
But the Commandbar will not only disapear in the current document.
Do anyone know the code or reason? I cannot use autonew or anything starting
with the template cause the the template is starting up in IE, and that do
not work.
Hope for answers
Lone