ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   The "temporary" parameter of CommandBarPopup.Controls.Add (https://www.excelbanter.com/excel-programming/395775-temporary-parameter-commandbarpopup-controls-add.html)

Tom

The "temporary" parameter of CommandBarPopup.Controls.Add
 
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

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


All times are GMT +1. The time now is 07:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com