Consulting

Results 1 to 6 of 6

Thread: Solved: ADD INS ---- FAQ[s] to be Answered

  1. #1
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location

    Solved: ADD INS ---- FAQ[s] to be Answered

    Hi,

    I have the following questions about add ins. If some one could guide me to a comprehensive article..or answer them here..it would be great...!

    1. When an add in is being 'coded'. Where should the code be placed. In a separate module in the workbook, or in a Workbook Event. [If yes, which event]....?

    2. Once the add in has been saved as .XLA type...how is it added so, each time I launch Excel it is available.....?

    3. How do I fire the add in....? i.e get it to execute....?

    4. If I save a file, with an add in embedded all ready in my excel, and I mail it to someone, will they need to install the add in. Or will they receive the file with the add in pre-installed..? Or will their sheet throw up an error...?

    thanks a lot.....

    regards,

    asingh

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by asingh
    1. When an add in is being 'coded'. Where should the code be placed. In a separate module in the workbook, or in a Workbook Event. [If yes, which event]....?
    That depends upon what the code is to do. The same decisions as you would use with a normal workbook apply.

    Quote Originally Posted by asingh
    2. Once the add in has been saved as .XLA type...how is it added so, each time I launch Excel it is available.....?
    Tools>Addins browse for the file, and check it in the addins list.

    Quote Originally Posted by asingh
    3. How do I fire the add in....? i.e get it to execute....?
    The usual way is to add a menu or toolbar when the addin starts, or else you can just pick the macros from the macro list. You can also have UDFs in your addin which can be used from any worksheet.

    Quote Originally Posted by asingh
    4. If I save a file, with an add in embedded all ready in my excel, and I mail it to someone, will they need to install the add in. Or will they receive the file with the add in pre-installed..? Or will their sheet throw up an error...?
    Nope, they need to install it themselves, it is a separate component.

    Before I answer anymore, can you confirm that this is not homework, or coursework?

  3. #3
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location
    My utmost guarantee..and honesty : NO This is not homework or coursework [I wish I was a student though......!]. I am a working professional...and Excel is used extensively where I work. I plan to create a couple of add - ins, cause there are multiple tasks which we repeat on a daily basis...for example
    1. Changing fonts...
    2. Change Column Widths/Heights..
    3. Hiding/Unhiding unused area....

    thanks...
    asingh

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Don't we all

    So did my answers help? Do you need any more?

  5. #5
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location
    One last one...How do i get the Macro to fire...?

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Which macro?

    If you mean (any) one in the addin, as I said before, you can either create a UDF which is accessible from a worksheet like any other function, call it from the macro list, or create a menu or toolb ar with buttons that invoke the macro(s).

Posting Permissions

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