Hello,
I have a strange problem. When I work simultaniously with two documents
based on the same attached template then something strange happens. If I
press a selfmade commandbar button in document 1 then its made invisible by
vba code, so far so good. When I go to the second document then that button
is invisible too. I want to press this button too in this document. Is there
a solutions for this. I tried: customizationContext= activedocument.attached
template after the set obutton statement but that did't work.
Thanks
Klaus Linke - 17 Mar 2005 02:09 GMT
Have you tried setting the CustomizationContext=ActiveDocument before making the button invisible?
Think that should work... while modifying the attached template probably always will apply to all documents attached to that template.
Regards,
Klaus
> Hello,
> I have a strange problem. When I work simultaniously with two documents
[quoted text clipped - 5 lines]
> template after the set obutton statement but that did't work.
> Thanks