ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Addin Help (https://www.excelbanter.com/excel-discussion-misc-queries/101075-addin-help.html)

alexm999

Addin Help
 

I created some VB code and saved the file as a .XLA and put it in the
right directory for addins. Now, when i open excel, the macro is not
available.
How can i make my macro available to run anytime I open excel?


--
alexm999
------------------------------------------------------------------------
alexm999's Profile: http://www.excelforum.com/member.php...fo&userid=4918
View this thread: http://www.excelforum.com/showthread...hreadid=564546


Gord Dibben

Addin Help
 
What do you consider the "right" directory for add-ins?

Office\Library is the default folder for add-ins.

Excel sees them in there.

In ToolsAdd-ins browse to where you stored the add-in and d-click on the
add-in.



Gord Dibben MS Excel MVP

On Mon, 24 Jul 2006 21:39:20 -0400, alexm999
wrote:


I created some VB code and saved the file as a .XLA and put it in the
right directory for addins. Now, when i open excel, the macro is not
available.
How can i make my macro available to run anytime I open excel?



Dave Peterson

Addin Help
 
And you can put those addins in any drive/folder you want.

You can click on the Browse button in Tools|Addins to install any addin from any
location. This is nice when your folder is on a network drive and the addin is
shared with lots of people.



alexm999 wrote:

I created some VB code and saved the file as a .XLA and put it in the
right directory for addins. Now, when i open excel, the macro is not
available.
How can i make my macro available to run anytime I open excel?

--
alexm999
------------------------------------------------------------------------
alexm999's Profile: http://www.excelforum.com/member.php...fo&userid=4918
View this thread: http://www.excelforum.com/showthread...hreadid=564546


--

Dave Peterson

alexm999

Addin Help
 

OK, I'm almost there. I cannot get the macro to run when I open a brand
new excel sheet. What am I doing wrong?


--
alexm999
------------------------------------------------------------------------
alexm999's Profile: http://www.excelforum.com/member.php...fo&userid=4918
View this thread: http://www.excelforum.com/showthread...hreadid=564546


Dave Peterson

Addin Help
 
If you want the macro to run each time you open an existing workbook (or create
a new workbook), you'll need an application event.

See Chip Pearson's site:
http://www.cpearson.com/excel/AppEvent.htm

alexm999 wrote:

OK, I'm almost there. I cannot get the macro to run when I open a brand
new excel sheet. What am I doing wrong?

--
alexm999
------------------------------------------------------------------------
alexm999's Profile: http://www.excelforum.com/member.php...fo&userid=4918
View this thread: http://www.excelforum.com/showthread...hreadid=564546


--

Dave Peterson


All times are GMT +1. The time now is 06:08 AM.

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