Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Add-In to load when Excel opens?

I'm working on a "calculator" program that my company wants to distribute to
customers. They chose to have me create this as an add-in to Excel.

If I save a workbook with VB code as an add-in, how do I get it to be loaded
every time I open Excel?

In greater detail--I have a workbook that I've got some code in it to add a
menu to the title bar, but I want it to be there every time I open Excel, not
have to go to Tools-Add Ins-Install every time in order to get the menu to
appear.

How do I structure this so that it can be installed on any machine?

(I'm using XP, Excel 2002)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Add-In to load when Excel opens?

Hi Dutty,

If I save a workbook with VB code as an add-in, how do I get it to be loaded
every time I open Excel?


By checking the addin in Tools, addins, as you say you have.

In greater detail--I have a workbook that I've got some code in it to add a
menu to the title bar, but I want it to be there every time I open Excel, not
have to go to Tools-Add Ins-Install every time in order to get the menu to
appear.


Place a call to the code that sets up the menu in the Thisworkbook module, using
the Workbook_Open event, not the AddinInstall event.

How do I structure this so that it can be installed on any machine?


Download e.g. my Name Manager from www.jkp-ads.com/Download.htm
It contains a setup file inside the zip file you can modify at will to use for
installation of your own addin.

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Add-In to load when Excel opens?

Put it in the addins directory,

then do Tools=Addins, and put a check next to your addin. Then it should
load each time excel is opened.

--
Regards,
Tom Ogilvy

"dutty" wrote in message
...
I'm working on a "calculator" program that my company wants to distribute

to
customers. They chose to have me create this as an add-in to Excel.

If I save a workbook with VB code as an add-in, how do I get it to be

loaded
every time I open Excel?

In greater detail--I have a workbook that I've got some code in it to add

a
menu to the title bar, but I want it to be there every time I open Excel,

not
have to go to Tools-Add Ins-Install every time in order to get the menu

to
appear.

How do I structure this so that it can be installed on any machine?

(I'm using XP, Excel 2002)



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Add-In to load when Excel opens?

You only do Tools-Add Ins-Install once, thereafter the add-in is always
loaded when Excel loads, unless someone uninstalls it.

The other way (not my choice) is to put it in the XLSTart directory.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"dutty" wrote in message
...
I'm working on a "calculator" program that my company wants to distribute

to
customers. They chose to have me create this as an add-in to Excel.

If I save a workbook with VB code as an add-in, how do I get it to be

loaded
every time I open Excel?

In greater detail--I have a workbook that I've got some code in it to add

a
menu to the title bar, but I want it to be there every time I open Excel,

not
have to go to Tools-Add Ins-Install every time in order to get the menu

to
appear.

How do I structure this so that it can be installed on any machine?

(I'm using XP, Excel 2002)



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel opens in Autosave.How do I delete it so it opens in Book1? Christine Setting up and Configuration of Excel 1 February 15th 10 02:10 AM
Excel file opens and opens and opens Wanna Learn Excel Discussion (Misc queries) 1 June 9th 09 11:03 PM
when i double click on an excel file, excel opens but nothing load spiky_80 Excel Discussion (Misc queries) 1 January 30th 08 12:48 AM
Load form when workbook opens [email protected] Excel Discussion (Misc queries) 2 July 19th 06 03:32 AM
Excel opens correct view - web (used frontpg) opens it wrong Jim2003 Excel Discussion (Misc queries) 1 July 27th 05 10:25 PM


All times are GMT +1. The time now is 12:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"