ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   xla and add-in (https://www.excelbanter.com/excel-programming/409642-xla-add.html)

greg

xla and add-in
 
When you create a xla. and its an add-in.
When the user selects the add in. is there a method/function/sub that gets
called.
So you could create a toolbar with code.



Tim Williams

xla and add-in
 
Workbook open event code runs same as for an xls.

Tim

"greg" wrote in message
...
When you create a xla. and its an add-in.
When the user selects the add in. is there a method/function/sub that
gets called.
So you could create a toolbar with code.




Dave Peterson

xla and add-in
 
There's nothing that gets called automatically, but you could create the toolbar
in your code.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

And if you use xl2007:

If you want to learn about modifying the ribbon, you can start at Ron de Bruin's
site:
http://www.rondebruin.nl/ribbon.htm
http://www.rondebruin.nl/qat.htm -- For macros for all workbooks (saved as an
addin)
or
http://www.rondebruin.nl/2007addin.htm

In xl2007, those toolbars and menu modifications will show up under the addins.

greg wrote:

When you create a xla. and its an add-in.
When the user selects the add in. is there a method/function/sub that gets
called.
So you could create a toolbar with code.


--

Dave Peterson


All times are GMT +1. The time now is 09:25 AM.

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