D
Dingding
Hi, all
I am working on an application in Excel and I add a new toolbar to
excel by coding VBA. Here's the way that I wrote like:
Application.CommandBars.Add Name:= "My Toolbar", Temporary:=True
But if I open other excel workbooks at the same time, the toolbar also
appears in the window of those workbooks. It's really annoying and
leads to mistakes. Is there any way to prevent the toolbar displaying
in unrelated workbooks?
Thanks for any suggestions.
Dingding
I am working on an application in Excel and I add a new toolbar to
excel by coding VBA. Here's the way that I wrote like:
Application.CommandBars.Add Name:= "My Toolbar", Temporary:=True
But if I open other excel workbooks at the same time, the toolbar also
appears in the window of those workbooks. It's really annoying and
leads to mistakes. Is there any way to prevent the toolbar displaying
in unrelated workbooks?
Thanks for any suggestions.
Dingding