Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 8
Default Unload an addin

Hi!

To uninstall an add-in, i'm using a .vbs script. My problem is when Excel is
open and i try to "uninstall" the addin, i get an Access Denied error.
objXL.AddIns("LMI!Comptable").Installed = False

I think there's two ways to resolve my problem:

1- unload the add-in (possible?!?!?)
2-Check if Excel is open (possible?!??) and launch a warning to close it

What would be the better solution and how can we do this?

Thanks,

Thierry Paradis.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Unload an addin


Can you not go to my computer and delete the file,

or in excel go to tools options and uncheck the add-in


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=521260

  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Unload an addin


In VBA I would use
workbooks("autosave.xla").Close

Isn't there some equivalent of that in vbs ?

Bas Hartkamp


"Thierry Paradis" schreef in bericht
...
Hi!

To uninstall an add-in, i'm using a .vbs script. My problem is when Excel
is open and i try to "uninstall" the addin, i get an Access Denied error.
objXL.AddIns("LMI!Comptable").Installed = False

I think there's two ways to resolve my problem:

1- unload the add-in (possible?!?!?)
2-Check if Excel is open (possible?!??) and launch a warning to close it

What would be the better solution and how can we do this?

Thanks,

Thierry Paradis.




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
How to unload Excel Addin Application? cherishman Excel Programming 5 March 21st 05 12:50 PM
Unload the form on esc key Papou Excel Programming 0 August 10th 04 05:15 PM
form won't unload inquirer Excel Programming 1 May 26th 04 09:55 AM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM
Unload Me Chip Pearson Excel Programming 0 September 5th 03 12:56 AM


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

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"