Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Add-in removal

When I uninstall an add-in from excel by uninstalling the application that
install the add-in when launching excel after the add-in has been removed
excel says that it can't find the add-in. Is there a way to do this so that
the a user is not given the error dialog?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Add-in removal


Yes:
by deactivating the addin within the excel instance
THEN deleting the file.

OR if excel is NOT running by deleting
the OPENxxx value in the registry under

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Rob Hoffy wrote :

When I uninstall an add-in from excel by uninstalling the application
that install the add-in when launching excel after the add-in has
been removed excel says that it can't find the add-in. Is there a way
to do this so that the a user is not given the error dialog?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Add-in removal

any suggestions of doing this automatically(scripted) since the open value
could be different on each persons machine and if you delete OPEN1 and only
have OPEN, OPEN 2, OPEN 3, etc only OPEN will get loaded since it reads them
sequentially.

"keepITcool" wrote:


Yes:
by deactivating the addin within the excel instance
THEN deleting the file.

OR if excel is NOT running by deleting
the OPENxxx value in the registry under

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Rob Hoffy wrote :

When I uninstall an add-in from excel by uninstalling the application
that install the add-in when launching excel after the add-in has
been removed excel says that it can't find the add-in. Is there a way
to do this so that the a user is not given the error dialog?


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Add-in removal



I am working on a VERY elaborate VBscript...:

checking if excel running.
done. with WMI!
reading registry entries.
done. enumming with WMI, reading with wscript.shell

checking files exist.
done: basic scanning for all installed/opened files found in
registry...
todo: checking on duplicate installs in various folders.
todo: checking for duplicate document titles...

(since document titles are used as unique index in the addins
collection, you cannot have 2 entries with the same title..

options to install/activate/uninstall done.
options to scan multiple excel versions. done.
options to open addins as readonly (/R parameter)

etc..

deciding which addins to remove or add...
deciding if and when to kill/rename/move files


Rebuilding the OPEN series under options...
That's a very minor problem.


IF and when I get it working I'll make sure I advertise it :)


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Rob Hoffy wrote :

any suggestions of doing this automatically(scripted) since the open
value could be different on each persons machine and if you delete
OPEN1 and only have OPEN, OPEN 2, OPEN 3, etc only OPEN will get
loaded since it reads them sequentially.

"keepITcool" wrote:


Yes:
by deactivating the addin within the excel instance
THEN deleting the file.

OR if excel is NOT running by deleting
the OPENxxx value in the registry under

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\E xcel\Options




--
keepITcool
www.XLsupport.com | keepITcool chello nl | amsterdam



Rob Hoffy wrote :

When I uninstall an add-in from excel by uninstalling the
application that install the add-in when launching excel after
the add-in has been removed excel says that it can't find the
add-in. Is there a way to do this so that the a user is not given
the error dialog?


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
Removal of Zero vmohan1978 Excel Worksheet Functions 4 January 24th 10 07:29 AM
function removal Joytrink Excel Discussion (Misc queries) 3 January 29th 09 08:49 PM
Password removal? Bob Newman Excel Discussion (Misc queries) 5 January 28th 09 12:28 AM
Number removal Jennings Excel Worksheet Functions 4 February 15th 06 04:56 PM
Year row removal smurray444 Excel Worksheet Functions 0 December 5th 05 10:48 PM


All times are GMT +1. The time now is 02:15 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"