+ Reply to Thread
Results 1 to 2 of 2

Add-in Auto-Generation

  1. #1
    Adam
    Guest

    Add-in Auto-Generation

    We currently have some code in an Add-in which I would like to put into
    source. Instead of putting the binary file into source, I would like to put
    the class files as text into source for versioning. Now the issue I then
    need to face is to create a process to import these class and module files
    into an add-in.

    Now I know I can probably create a vb app that can do this, but I am
    wondering if excel has any current functionality that can dynamically build
    an add-in from the command line for our build process. Or if there is
    anything else out there that can do it for us. Any suggestions would be
    appreciated.

    Thanks in advance.

    Reg,
    Adam

  2. #2
    Rob Bovey
    Guest

    Re: Add-in Auto-Generation

    "Adam" <[email protected]> wrote in message
    news:[email protected]...
    > We currently have some code in an Add-in which I would like to put into
    > source. Instead of putting the binary file into source, I would like to
    > put
    > the class files as text into source for versioning. Now the issue I then
    > need to face is to create a process to import these class and module files
    > into an add-in.
    >
    > Now I know I can probably create a vb app that can do this, but I am
    > wondering if excel has any current functionality that can dynamically
    > build
    > an add-in from the command line for our build process. Or if there is
    > anything else out there that can do it for us. Any suggestions would be
    > appreciated.


    Hi Adam,

    Unfortunately, there's no way to do this automatically from Excel, so
    you'll have to write it yourself. The code cleaner add-in available on my
    web site has all of the logic required to export and import the VBComponents
    in an add-in to/from text files. You're welcome to have a look at the code
    and grab anything that's helpful.

    --
    Rob Bovey, Excel MVP
    Application Professionals
    http://www.appspro.com/

    * Take your Excel development skills to the next level.
    * Professional Excel Development
    http://www.appspro.com/Books/Books.htm



+ 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