ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Loading Macros at Runtime (https://www.excelbanter.com/excel-programming/375491-loading-macros-runtime.html)

RjS, CISSP, CISA

Loading Macros at Runtime
 
HI - In the past few weeks I have written a pile of VB Macro code including
new toolbar buttons with underlying menues and submenues. The problem is I
cant figure out how to ensure that the new buttons and menues, and their
associated macro code, is always loaded whenever excel is run? Some of the
macro code is Class code and some is at the general module level. Your help
is greatly appreciated.

Thanks

Bob Phillips

Loading Macros at Runtime
 
Put it in an add-in.


http://support.microsoft.com/default.aspx?kbid=179008
MacXL: How to Create an Add-in File in Microsoft Excel


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

<RjS; <CISSP; "CISA" wrote in
message ...
HI - In the past few weeks I have written a pile of VB Macro code

including
new toolbar buttons with underlying menues and submenues. The problem is I
cant figure out how to ensure that the new buttons and menues, and their
associated macro code, is always loaded whenever excel is run? Some of the
macro code is Class code and some is at the general module level. Your

help
is greatly appreciated.

Thanks





All times are GMT +1. The time now is 11:58 PM.

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