Results 1 to 3 of 3

Auto Install VBA Code for Excel

Threaded View

  1. #1
    Registered User
    Join Date
    02-28-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Auto Install VBA Code for Excel

    I wrote some VBA code in Excel. I then saved it as an add-in. When I re-opened Excel, and went to the Add-in manager I found that I had to check the box beside it to make it load.

    Since I will be writing and distributing Apps written in C# that collaborate with the VBA code in Excel, it would be very useful if that code could be installed and enabled for loading without any manual intervention after the Add-in is placed in its folder. How might this be done?

    I assume there is folder for the Add-In where it will be loaded for each user on the machine and each new Excel workbook and each existing workbook. What folder is the proper one for say Excel 2003?

    BTW: The Apps and the VBA code will be installed on one machine and nothing will require a network. Assume there are no security restrictions for running the code. The code is event driven and not accessed by the user.

    I have seen this done by a text-to-speech converter that installed some time ago. After installing the App, I looked at the Add-Ins with the add-In manager and there was one with its checkbox already checked. Furthermore, for every user and every workbook, that VBA was loaded and ready to use. How was that done.
    Last edited by louarnold; 03-01-2011 at 12:30 AM.

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