+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Valued Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2007
    Posts
    332

    Verify Custom Add In via vba/macro?

    Hi - I'm using Excel 2007 to create an appliation to check mass volumes of data. The tool is working nicely for the most part, but I'd like to make sure the end users have a particular add-in, xyzaddin, running before the first userform is presented.

    Is there any way to automate a check for this add in? I'll set it to run on the workbook open and present an option to get it automatically, or get it manually, whichever the user prefers. But, I'd like to start out by doing the check.

    Any help is appreciated!

    JP
    Last edited by JP Romano; 01-26-2009 at 06:11 PM. Reason: Resolved

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Verify Custom Add In via vba/macro?

    Code:
    Private Sub Workbook_Open()
    Dim bool_xla As Boolean: bool_xla = AddIns("Name of Your AddIn").Installed
    If bool_xla = False Then MsgBox "Install Add-In", vbCritical, "Missing Add-In"
    End Sub
    You can install the Add-In automatically if you know where it is located.

  3. #3
    Valued Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2007
    Posts
    332

    Re: Verify Custom Add In via vba/macro?

    That's perfect...thanks a million!

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0