PC Review


Reply
Thread Tools Rate Thread

Automate an Excel Add-In Install

 
 
TW Bake
Guest
Posts: n/a
 
      3rd Jan 2007
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 With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      3rd Jan 2007
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" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>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 With Quote
 
=?Utf-8?B?Q2hhcmxlcyBDaGlja2VyaW5n?=
Guest
Posts: n/a
 
      4th Jan 2007
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automate Install George Schneider Microsoft Windows 2000 Active Directory 2 20th Dec 2007 05:18 AM
I would like to automate the install Anti-Spyware Installation 1 9th Apr 2005 01:55 AM
Automate Install/Connection - VPN/TS Sessions Jamie Microsoft Windows 2000 Terminal Server Clients 12 2nd Oct 2004 06:49 AM
Automate SUS Server install Mohit Microsoft Windows 2000 Windows Updates 2 27th Jul 2004 12:55 PM
Automate XP Install Vince Windows XP Customization 0 1st Feb 2004 02:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 AM.