+ Reply to Thread
Results 1 to 2 of 2

Unload an addin

Hybrid View

  1. #1
    Thierry Paradis
    Guest

    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. #2
    HS Hartkamp
    Guest

    Re: 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" <[email protected]> schreef in bericht
    news:%[email protected]...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1