Forum Discussion

yake-ho-foong's avatar
yake-ho-foong
Copper Contributor
Jul 17, 2023

Script Lab Error "This add-in could not be started"

I tried running the example user defined function (UDF) but it did not work. It used to work a while ago when I first installed the Script Lab add-in. The attached screenshots show the error message and the Windows event log in the Event Viewer app. Clicking "Restart" did not work. Any suggestions on what could be wrong or what else I could do to troubleshoot this? Thank you.

 

 

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    yake-ho-foong 

    The error message "This add-in could not be started" with the error code 0x80004005 indicates a general error that can have various causes. Here are a few suggestions to troubleshoot the issue with Script Lab:

    1. Check prerequisites: Ensure that your version of Office/Excel is compatible with Script Lab. Script Lab requires Office 2016 or later, Excel Online, or Excel for iPad. Also, make sure that you have the latest updates installed for Office/Excel.
    2. Disable other add-ins: Temporarily disable any other add-ins or plugins you have installed in Excel. Conflicts between add-ins can sometimes cause issues. Restart Excel and try running Script Lab again.
    3. Reinstall Script Lab: Uninstall the Script Lab add-in from Excel and then reinstall it.
    4. Here is how:
      • Go to the "Insert" tab in Excel and click on "Get Add-ins" in the "Add-ins" group.
      • In the "Office Add-ins" dialog, go to the "My Add-ins" section.
      • Find Script Lab in the list and click on the "..." (ellipsis) button next to it.
      • Choose "Remove" to uninstall Script Lab.
      • Restart Excel and reinstall Script Lab by following the same steps.
      • Try running the example UDF after reinstalling Script Lab.
    5. Update Script Lab: Make sure you have the latest version of Script Lab installed. Visit the Script Lab website or the appropriate add-in store (such as the Microsoft AppSource) to check for any updates and install the latest version if available.
    6. Check security settings: Verify that your Excel security settings allow the execution of add-ins and custom functions. Go to the Excel options or settings and navigate to the "Trust Center" or "Security" section. Ensure that "Enable All Macros" or "Enable Custom Add-ins" is selected. Adjust the settings as needed and try running Script Lab again.
    7. Try on a different machine: If possible, test Script Lab on a different machine or with a different user account to see if the issue persists. This will help determine if the problem is specific to your environment.

    If none of these suggestions resolve the issue, you can try reaching out to the Script Lab support team or the Microsoft Office support for further assistance. They may be able to provide more specific guidance based on your setup and the error message you encountered.

    Note: It is always a good practice to exercise caution when installing add-ins and ensure that you are downloading them from trusted sources.

    I hope one of these suggestions helps in resolving the issue with Script Lab.

    The text and the steps are the result of various AI's put together.

     

    My answers are voluntary and without guarantee!

     

    Hope this will help you.

Resources