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

I am looking for a way to install an Add-In from Excel without using
one of the professional install build applications. I'd like for the
user to to be able to open a workbook (or double click) that has an
install button located on a Menu tab. Once pressed, the VBA would then
install the appropriate Add-In(s). Any one have any code that will do
this? How about the add-in itself, if double-clicked (opened) can it
install itself as an add-in?

I've searched for some code, but it looks like most are using the
install-wise type software.

Regards,

TWB

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Automate an Excel Add-In Install

Hi TW Bake

JKP use something like that in the Name Manager I believe
Check out the code in the install workbook
http://www.jkp-ads.com/officemarketplacenm-en.asp


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"TW Bake" wrote in message ups.com...
I am looking for a way to install an Add-In from Excel without using
one of the professional install build applications. I'd like for the
user to to be able to open a workbook (or double click) that has an
install button located on a Menu tab. Once pressed, the VBA would then
install the appropriate Add-In(s). Any one have any code that will do
this? How about the add-in itself, if double-clicked (opened) can it
install itself as an add-in?

I've searched for some code, but it looks like most are using the
install-wise type software.

Regards,

TWB

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 272
Default Automate an Excel Add-In Install

You can do this with visual basic scripting as well. Open notepad, then paste
this code:
Set oXL = CreateObject("Excel.Application")
oXL.Workbooks.Add
Set oAddin = oXL.Addins.Add("C:\Hide_Columns_Addin.xla", True)
oAddin.Installed = True
oXL.Quit
Set oAddin = Nothing
Set oXL = Nothing

(Change the filename as needed)
Save the notepad file as something.vbs
Double-Click the .vbs file

--
Charles Chickering

"A good example is twice the value of good advice."


"TW Bake" wrote:

I am looking for a way to install an Add-In from Excel without using
one of the professional install build applications. I'd like for the
user to to be able to open a workbook (or double click) that has an
install button located on a Menu tab. Once pressed, the VBA would then
install the appropriate Add-In(s). Any one have any code that will do
this? How about the add-in itself, if double-clicked (opened) can it
install itself as an add-in?

I've searched for some code, but it looks like most are using the
install-wise type software.

Regards,

TWB


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
try to install a security update, prompted to install PRO11.msi najib Setting up and Configuration of Excel 0 June 4th 08 05:43 PM
How to install Excel Add-Ins without a CD? jmc Excel Worksheet Functions 3 February 14th 06 01:56 AM
Is there a way to install Excel if I use XP? Ms. Nae Excel Programming 7 January 13th 06 11:32 AM
What program do I install to install office 2003 with no prior pro lwd Excel Discussion (Misc queries) 1 January 8th 06 09:37 PM
Why does PHStats *NOT* install when I install Analytical ToolPak? webeditor-coutre Setting up and Configuration of Excel 1 July 5th 05 06:58 AM


All times are GMT +1. The time now is 05:58 AM.

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

About Us

"It's about Microsoft Excel"