View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default The "temporary" parameter of CommandBarPopup.Controls.Add

Sometimes VBAs help isn't too bad <vbg:

Temporary Optional Variant. True to make the new control temporary. Temporary
controls are automatically deleted when the container application is closed. The
default value is False.

(from xl2003's help)

Tom wrote:

Hi,

Could someone explain me what the tempoaray parameter defines in:

myCommandBarPopup.Controls.Add(type, id, parameter, before, TEMPORARY)
as Office.CommandBarButton;

This is all the documentation I've found:
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

Br,
Tom


--

Dave Peterson