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 ...
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:
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.
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.
Reinstall Script Lab: Uninstall the Script Lab add-in from Excel and then reinstall it.
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.
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.
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.
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.
I tried all of your suggestions, including #7, but nothing worked. I also tried using the Office Logging tool below, but I was unable to interpret or guess the information in the log.
As for the error itself main question do you have such error for other web add-ins (e.g. Advanced Formula Environment aka Excel Lab, whatever) or such error is specifically for Scrip Lab.
If you have an error for other add-ins as well it could depend on combination of many factors, I'd start from WebView2 if it installed correctly.
I believe you google around, just in case couple of links which could help
The error only occurs for "Custom Functions" samples in Script Lab. I tried "Comment" samples in Script Lab and those samples worked. The only difference is that "Custom Functions" samples are UDFs, while other samples are not UDFs.
I tried running using Excel web, and it worked. But I cannot limit myself to using Excel web since certain key functionalities in Excel are only available on the Desktop app.
I tried a full reinstall of Microsoft Office on my Desktop, and also ran a "repair" on WebView2, but the issue remains.
Script Lab was developed by the Microsoft Office team as an open-source project. Since it is an open-source project, it does not have a traditional support team. Instead, users typically seek help through GitHub repositories or community forums.
To contact the Script Lab community or find assistance, you can try the following:
GitHub Repository: Script Lab's primary development and issue tracking take place on GitHub. You can visit the official Script Lab GitHub repository at https://github.com/OfficeDev/office-js-docs-pr and check the "Issues" section to see if anyone else has reported a similar problem or ask a new question if needed.
Please note that since Script Lab is an open-source project, the level of support might differ from traditional commercial software. However, many open-source communities are very active and helpful, and you might find valuable assistance there.
As my knowledge is based on information available up to September 2021, there might have been updates or changes related to Script Lab or its support channels. I recommend visiting the official Script Lab website, checking the Microsoft AppSource, or referring to other up-to-date resources to get the latest information and contact details. Remember that for general Microsoft Office-related issues, you can always reach out to Microsoft support directly for assistance.
Alternative UDF Solutions: If Script Lab still does not work, consider using native Excel functionality or alternative UDF solutions available through other add-ins or custom VBA code.
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
"}},"componentScriptGroups({\"componentId\":\"custom.widget.MicrosoftFooter\"})":{"__typename":"ComponentScriptGroups","scriptGroups":{"__typename":"ComponentScriptGroupsDefinition","afterInteractive":{"__typename":"PageScriptGroupDefinition","group":"AFTER_INTERACTIVE","scriptIds":[]},"lazyOnLoad":{"__typename":"PageScriptGroupDefinition","group":"LAZY_ON_LOAD","scriptIds":[]}},"componentScripts":[]},"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/community/NavbarDropdownToggle\"]})":[{"__ref":"CachedAsset:text:en_US-components/community/NavbarDropdownToggle-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"shared/client/components/common/QueryHandler\"]})":[{"__ref":"CachedAsset:text:en_US-shared/client/components/common/QueryHandler-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/EscalatedMessageBanner\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/EscalatedMessageBanner-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/users/UserLink\"]})":[{"__ref":"CachedAsset:text:en_US-components/users/UserLink-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"shared/client/components/users/UserRank\"]})":[{"__ref":"CachedAsset:text:en_US-shared/client/components/users/UserRank-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/MessageTime\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/MessageTime-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/MessageSolvedBadge\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/MessageSolvedBadge-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/MessageSubject\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/MessageSubject-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/MessageBody\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/MessageBody-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/MessageCustomFields\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/MessageCustomFields-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/MessageReplyButton\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/MessageReplyButton-1745505309795"}],"message({\"id\":\"message:3875795\"})":{"__ref":"ForumTopicMessage:message:3875795"},"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"shared/client/components/users/UserAvatar\"]})":[{"__ref":"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"shared/client/components/ranks/UserRankLabel\"]})":[{"__ref":"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/AcceptedSolutionButton\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/messages/ThreadedReplyList\"]})":[{"__ref":"CachedAsset:text:en_US-components/messages/ThreadedReplyList-1745505309795"}],"message({\"id\":\"message:3875828\"})":{"__ref":"ForumReplyMessage:message:3875828"},"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"components/tags/TagView/TagViewChip\"]})":[{"__ref":"CachedAsset:text:en_US-components/tags/TagView/TagViewChip-1745505309795"}],"cachedText({\"lastModified\":\"1745505309795\",\"locale\":\"en-US\",\"namespaces\":[\"shared/client/components/common/Pager/PagerLoadMore\"]})":[{"__ref":"CachedAsset:text:en_US-shared/client/components/common/Pager/PagerLoadMore-1745505309795"}],"message({\"id\":\"message:3881744\"})":{"__ref":"ForumReplyMessage:message:3881744"},"message({\"id\":\"message:3881851\"})":{"__ref":"ForumReplyMessage:message:3881851"},"message({\"id\":\"message:3881632\"})":{"__ref":"ForumReplyMessage:message:3881632"}},"CachedAsset:pages-1745485212548":{"__typename":"CachedAsset","id":"pages-1745485212548","value":[{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"BlogViewAllPostsPage","type":"BLOG","urlPath":"/category/:categoryId/blog/:boardId/all-posts/(/:after|/:before)?","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"CasePortalPage","type":"CASE_PORTAL","urlPath":"/caseportal","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"CreateGroupHubPage","type":"GROUP_HUB","urlPath":"/groups/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"CaseViewPage","type":"CASE_DETAILS","urlPath":"/case/:caseId/:caseNumber","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"InboxPage","type":"COMMUNITY","urlPath":"/inbox","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"HelpFAQPage","type":"COMMUNITY","urlPath":"/help","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"IdeaMessagePage","type":"IDEA_POST","urlPath":"/idea/:boardId/:messageSubject/:messageId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"IdeaViewAllIdeasPage","type":"IDEA","urlPath":"/category/:categoryId/ideas/:boardId/all-ideas/(/:after|/:before)?","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"LoginPage","type":"USER","urlPath":"/signin","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"BlogPostPage","type":"BLOG","urlPath":"/category/:categoryId/blogs/:boardId/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"UserBlogPermissions.Page","type":"COMMUNITY","urlPath":"/c/user-blog-permissions/page","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ThemeEditorPage","type":"COMMUNITY","urlPath":"/designer/themes","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TkbViewAllArticlesPage","type":"TKB","urlPath":"/category/:categoryId/kb/:boardId/all-articles/(/:after|/:before)?","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1730819800000,"localOverride":null,"page":{"id":"AllEvents","type":"CUSTOM","urlPath":"/Events","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"OccasionEditPage","type":"EVENT","urlPath":"/event/:boardId/:messageSubject/:messageId/edit","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"OAuthAuthorizationAllowPage","type":"USER","urlPath":"/auth/authorize/allow","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"PageEditorPage","type":"COMMUNITY","urlPath":"/designer/pages","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"PostPage","type":"COMMUNITY","urlPath":"/category/:categoryId/:boardId/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ForumBoardPage","type":"FORUM","urlPath":"/category/:categoryId/discussions/:boardId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TkbBoardPage","type":"TKB","urlPath":"/category/:categoryId/kb/:boardId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"EventPostPage","type":"EVENT","urlPath":"/category/:categoryId/events/:boardId/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"UserBadgesPage","type":"COMMUNITY","urlPath":"/users/:login/:userId/badges","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"GroupHubMembershipAction","type":"GROUP_HUB","urlPath":"/membership/join/:nodeId/:membershipType","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"MaintenancePage","type":"COMMUNITY","urlPath":"/maintenance","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"IdeaReplyPage","type":"IDEA_REPLY","urlPath":"/idea/:boardId/:messageSubject/:messageId/comments/:replyId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"UserSettingsPage","type":"USER","urlPath":"/mysettings/:userSettingsTab","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"GroupHubsPage","type":"GROUP_HUB","urlPath":"/groups","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ForumPostPage","type":"FORUM","urlPath":"/category/:categoryId/discussions/:boardId/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"OccasionRsvpActionPage","type":"OCCASION","urlPath":"/event/:boardId/:messageSubject/:messageId/rsvp/:responseType","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"VerifyUserEmailPage","type":"USER","urlPath":"/verifyemail/:userId/:verifyEmailToken","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"AllOccasionsPage","type":"OCCASION","urlPath":"/category/:categoryId/events/:boardId/all-events/(/:after|/:before)?","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"EventBoardPage","type":"EVENT","urlPath":"/category/:categoryId/events/:boardId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TkbReplyPage","type":"TKB_REPLY","urlPath":"/kb/:boardId/:messageSubject/:messageId/comments/:replyId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"IdeaBoardPage","type":"IDEA","urlPath":"/category/:categoryId/ideas/:boardId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"CommunityGuideLinesPage","type":"COMMUNITY","urlPath":"/communityguidelines","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"CaseCreatePage","type":"SALESFORCE_CASE_CREATION","urlPath":"/caseportal/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TkbEditPage","type":"TKB","urlPath":"/kb/:boardId/:messageSubject/:messageId/edit","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ForgotPasswordPage","type":"USER","urlPath":"/forgotpassword","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"IdeaEditPage","type":"IDEA","urlPath":"/idea/:boardId/:messageSubject/:messageId/edit","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TagPage","type":"COMMUNITY","urlPath":"/tag/:tagName","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"BlogBoardPage","type":"BLOG","urlPath":"/category/:categoryId/blog/:boardId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"OccasionMessagePage","type":"OCCASION_TOPIC","urlPath":"/event/:boardId/:messageSubject/:messageId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ManageContentPage","type":"COMMUNITY","urlPath":"/managecontent","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ClosedMembershipNodeNonMembersPage","type":"GROUP_HUB","urlPath":"/closedgroup/:groupHubId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"CommunityPage","type":"COMMUNITY","urlPath":"/","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ForumMessagePage","type":"FORUM_TOPIC","urlPath":"/discussions/:boardId/:messageSubject/:messageId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"IdeaPostPage","type":"IDEA","urlPath":"/category/:categoryId/ideas/:boardId/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1730819800000,"localOverride":null,"page":{"id":"CommunityHub.Page","type":"CUSTOM","urlPath":"/Directory","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"BlogMessagePage","type":"BLOG_ARTICLE","urlPath":"/blog/:boardId/:messageSubject/:messageId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"RegistrationPage","type":"USER","urlPath":"/register","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"EditGroupHubPage","type":"GROUP_HUB","urlPath":"/group/:groupHubId/edit","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ForumEditPage","type":"FORUM","urlPath":"/discussions/:boardId/:messageSubject/:messageId/edit","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ResetPasswordPage","type":"USER","urlPath":"/resetpassword/:userId/:resetPasswordToken","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1730819800000,"localOverride":null,"page":{"id":"AllBlogs.Page","type":"CUSTOM","urlPath":"/blogs","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TkbMessagePage","type":"TKB_ARTICLE","urlPath":"/kb/:boardId/:messageSubject/:messageId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"BlogEditPage","type":"BLOG","urlPath":"/blog/:boardId/:messageSubject/:messageId/edit","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ManageUsersPage","type":"USER","urlPath":"/users/manage/:tab?/:manageUsersTab?","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ForumReplyPage","type":"FORUM_REPLY","urlPath":"/discussions/:boardId/:messageSubject/:messageId/replies/:replyId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"PrivacyPolicyPage","type":"COMMUNITY","urlPath":"/privacypolicy","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"NotificationPage","type":"COMMUNITY","urlPath":"/notifications","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"UserPage","type":"USER","urlPath":"/users/:login/:userId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"OccasionReplyPage","type":"OCCASION_REPLY","urlPath":"/event/:boardId/:messageSubject/:messageId/comments/:replyId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ManageMembersPage","type":"GROUP_HUB","urlPath":"/group/:groupHubId/manage/:tab?","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"SearchResultsPage","type":"COMMUNITY","urlPath":"/search","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"BlogReplyPage","type":"BLOG_REPLY","urlPath":"/blog/:boardId/:messageSubject/:messageId/replies/:replyId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"GroupHubPage","type":"GROUP_HUB","urlPath":"/group/:groupHubId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TermsOfServicePage","type":"COMMUNITY","urlPath":"/termsofservice","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"CategoryPage","type":"CATEGORY","urlPath":"/category/:categoryId","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"ForumViewAllTopicsPage","type":"FORUM","urlPath":"/category/:categoryId/discussions/:boardId/all-topics/(/:after|/:before)?","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"TkbPostPage","type":"TKB","urlPath":"/category/:categoryId/kbs/:boardId/create","__typename":"PageDescriptor"},"__typename":"PageResource"},{"lastUpdatedTime":1745485212548,"localOverride":null,"page":{"id":"GroupHubPostPage","type":"GROUP_HUB","urlPath":"/group/:groupHubId/:boardId/create","__typename":"PageDescriptor"},"__typename":"PageResource"}],"localOverride":false},"CachedAsset:text:en_US-components/context/AppContext/AppContextProvider-0":{"__typename":"CachedAsset","id":"text:en_US-components/context/AppContext/AppContextProvider-0","value":{"noCommunity":"Cannot find community","noUser":"Cannot find current user","noNode":"Cannot find node with id {nodeId}","noMessage":"Cannot find message with id {messageId}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/common/Loading/LoadingDot-0":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/common/Loading/LoadingDot-0","value":{"title":"Loading..."},"localOverride":false},"User:user:-1":{"__typename":"User","id":"user:-1","uid":-1,"login":"Deleted","email":"","avatar":null,"rank":null,"kudosWeight":1,"registrationData":{"__typename":"RegistrationData","status":"ANONYMOUS","registrationTime":null,"confirmEmailStatus":false,"registrationAccessLevel":"VIEW","ssoRegistrationFields":[]},"ssoId":null,"profileSettings":{"__typename":"ProfileSettings","dateDisplayStyle":{"__typename":"InheritableStringSettingWithPossibleValues","key":"layout.friendly_dates_enabled","value":"false","localValue":"true","possibleValues":["true","false"]},"dateDisplayFormat":{"__typename":"InheritableStringSetting","key":"layout.format_pattern_date","value":"MMM dd yyyy","localValue":"MM-dd-yyyy"},"language":{"__typename":"InheritableStringSettingWithPossibleValues","key":"profile.language","value":"en-US","localValue":"en","possibleValues":["en-US"]}},"deleted":false},"Theme:customTheme1":{"__typename":"Theme","id":"customTheme1"},"Category:category:microsoft365":{"__typename":"Category","id":"category:microsoft365","entityType":"CATEGORY","displayId":"microsoft365","nodeType":"category","depth":3,"title":"Microsoft 365","shortTitle":"Microsoft 365","parent":{"__ref":"Category:category:products-services"},"categoryPolicies":{"__typename":"CategoryPolicies","canReadNode":{"__typename":"PolicyResult","failureReason":null}}},"Category:category:top":{"__typename":"Category","id":"category:top","displayId":"top","nodeType":"category","depth":0,"title":"Top","entityType":"CATEGORY","shortTitle":"Top"},"Category:category:communities":{"__typename":"Category","id":"category:communities","displayId":"communities","nodeType":"category","depth":1,"parent":{"__ref":"Category:category:top"},"title":"Communities","entityType":"CATEGORY","shortTitle":"Communities"},"Category:category:products-services":{"__typename":"Category","id":"category:products-services","displayId":"products-services","nodeType":"category","depth":2,"parent":{"__ref":"Category:category:communities"},"title":"Products","entityType":"CATEGORY","shortTitle":"Products"},"Forum:board:ExcelGeneral":{"__typename":"Forum","id":"board:ExcelGeneral","entityType":"FORUM","displayId":"ExcelGeneral","nodeType":"board","depth":4,"conversationStyle":"FORUM","title":"Excel","description":"Your community for how-to discussions and sharing best practices on Microsoft Excel. If you’re looking for technical support, please visit Microsoft Support Community.","avatar":null,"profileSettings":{"__typename":"ProfileSettings","language":null},"parent":{"__ref":"Category:category:microsoft365"},"ancestors":{"__typename":"CoreNodeConnection","edges":[{"__typename":"CoreNodeEdge","node":{"__ref":"Community:community:gxcuf89792"}},{"__typename":"CoreNodeEdge","node":{"__ref":"Category:category:communities"}},{"__typename":"CoreNodeEdge","node":{"__ref":"Category:category:products-services"}},{"__typename":"CoreNodeEdge","node":{"__ref":"Category:category:microsoft365"}}]},"userContext":{"__typename":"NodeUserContext","canAddAttachments":false,"canUpdateNode":false,"canPostMessages":false,"isSubscribed":false},"boardPolicies":{"__typename":"BoardPolicies","canPublishArticleOnCreate":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.forums.policy_can_publish_on_create_workflow_action.accessDenied","key":"error.lithium.policies.forums.policy_can_publish_on_create_workflow_action.accessDenied","args":[]}}},"shortTitle":"Excel","repliesProperties":{"__typename":"RepliesProperties","sortOrder":"REVERSE_PUBLISH_TIME","repliesFormat":"threaded"},"tagProperties":{"__typename":"TagNodeProperties","tagsEnabled":{"__typename":"PolicyResult","failureReason":null}},"requireTags":true,"tagType":"PRESET_ONLY","eventPath":"category:microsoft365/category:products-services/category:communities/community:gxcuf89792board:ExcelGeneral/"},"Rank:rank:37":{"__typename":"Rank","id":"rank:37","position":18,"name":"Copper Contributor","color":"333333","icon":null,"rankStyle":"TEXT"},"User:user:1822248":{"__typename":"User","id":"user:1822248","uid":1822248,"login":"yake-ho-foong","deleted":false,"avatar":{"__typename":"UserAvatar","url":"https://techcommunity.microsoft.com/t5/s/gxcuf89792/m_assets/avatars/default/avatar-3.svg?time=0"},"rank":{"__ref":"Rank:rank:37"},"email":"","messagesCount":8,"biography":null,"topicsCount":3,"kudosReceivedCount":0,"kudosGivenCount":1,"kudosWeight":1,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2023-04-12T15:02:44.345-07:00","confirmEmailStatus":null},"followersCount":null,"solutionsCount":0,"entityType":"USER","eventPath":"community:gxcuf89792/user:1822248"},"ForumTopicMessage:message:3875795":{"__typename":"ForumTopicMessage","uid":3875795,"subject":"Script Lab Error \"This add-in could not be started\"","id":"message:3875795","revisionNum":1,"repliesCount":5,"author":{"__ref":"User:user:1822248"},"depth":0,"hasGivenKudo":false,"board":{"__ref":"Forum:board:ExcelGeneral"},"conversation":{"__ref":"Conversation:conversation:3875795"},"readOnly":false,"editFrozen":false,"moderationData":{"__ref":"ModerationData:moderation_data:3875795"},"body@stripHtml({\"truncateLength\":200})":" 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 ...","body@stringLength":"1265","rawBody":"
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.
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.
"},"Conversation:conversation:3875795":{"__typename":"Conversation","id":"conversation:3875795","solved":false,"topic":{"__ref":"ForumTopicMessage:message:3875795"},"lastPostingActivityTime":"2023-07-23T19:11:55.452-07:00","lastPostTime":"2023-07-23T19:11:55.452-07:00","unreadReplyCount":5,"isSubscribed":false},"ModerationData:moderation_data:3875795":{"__typename":"ModerationData","id":"moderation_data:3875795","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"AssociatedImage:{\"url\":\"https://techcommunity.microsoft.com/t5/s/gxcuf89792/images/bS0zODc1Nzk1LTQ4OTUwMmkyMENCNEEzNzRCQ0YwOERC?revision=1\"}":{"__typename":"AssociatedImage","url":"https://techcommunity.microsoft.com/t5/s/gxcuf89792/images/bS0zODc1Nzk1LTQ4OTUwMmkyMENCNEEzNzRCQ0YwOERC?revision=1","title":"ScreenShot01.jpg","associationType":"BODY","width":902,"height":196,"altText":null},"AssociatedImage:{\"url\":\"https://techcommunity.microsoft.com/t5/s/gxcuf89792/images/bS0zODc1Nzk1LTQ4OTUwNGlEQ0NDMTZDMDk2Q0VCNDlG?revision=1\"}":{"__typename":"AssociatedImage","url":"https://techcommunity.microsoft.com/t5/s/gxcuf89792/images/bS0zODc1Nzk1LTQ4OTUwNGlEQ0NDMTZDMDk2Q0VCNDlG?revision=1","title":"ScreenShot02.jpg","associationType":"BODY","width":567,"height":150,"altText":null},"Revision:revision:3875795_1":{"__typename":"Revision","id":"revision:3875795_1","lastEditTime":"2023-07-16T23:30:48.689-07:00"},"ForumReplyMessage:message:3881614":{"__typename":"ForumReplyMessage","id":"message:3881614","conversation":{"__ref":"Conversation:conversation:3875795"},"author":{"__ref":"User:user:1822248"},"revisionNum":1,"uid":3881614,"depth":2,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:ExcelGeneral"},"subject":"Re: Script Lab Error \"This add-in could not be started\"","readOnly":false,"editFrozen":false,"moderationData":{"__ref":"ModerationData:moderation_data:3881614"},"parent":{"__ref":"ForumReplyMessage:message:3875828"},"body":"
I tried all of your suggestions, including #7, but nothing worked. I also tried using the Office Logging tool below, but I was unable to interpret or guess the information in the log.
I think I will need to contact the Script Lab team. Do you know how can I do this?
Thank you.
","body@stringLength":"837","rawBody":"
I tried all of your suggestions, including #7, but nothing worked. I also tried using the Office Logging tool below, but I was unable to interpret or guess the information in the log.
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:
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.
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.
Reinstall Script Lab: Uninstall the Script Lab add-in from Excel and then reinstall it.
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.
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.
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.
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.
","body@stringLength":"3009","rawBody":"
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:
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.
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.
Reinstall Script Lab: Uninstall the Script Lab add-in from Excel and then reinstall it.
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.
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.
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.
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.
","author":{"__ref":"User:user:722750"},"isEscalated":null,"postTime":"2023-07-17T00:48:54.468-07:00","parent":{"__ref":"ForumTopicMessage:message:3875795"},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"repliesCount":4},"Revision:revision:3881614_1":{"__typename":"Revision","id":"revision:3881614_1","lastEditTime":"2023-07-22T21:15:34.821-07:00"},"QueryVariables:ReplyList:message:3881614:1":{"__typename":"QueryVariables","id":"ReplyList:message:3881614:1","value":{"id":"message:3881614","first":10,"sorts":{"postTime":{"direction":"DESC"}},"repliesFirst":3,"repliesFirstDepthThree":1,"repliesSorts":{"postTime":{"direction":"DESC"}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":true,"useBody":true,"useKudosCount":true,"useTimeToRead":false,"useMedia":false,"useReadOnlyIcon":false,"useRepliesCount":true,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":false,"attachmentsFirst":5,"useTags":false,"useNodeAncestors":false,"useUserHoverCard":false,"useNodeHoverCard":false,"useModerationStatus":true,"usePreviewSubjectModal":false,"useMessageStatus":true}},"ROOT_MUTATION":{"__typename":"Mutation"},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1745505309795":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1745505309795","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1745505309795":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1745505309795","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1745505309795":{"__typename":"CachedAsset","id":"text:en_US-components/messages/AcceptedSolutionButton-1745505309795","value":{"accept":"Mark as Solution","accepted":"Marked as Solution","errorHeader":"Error!","errorAdd":"There was an error marking as solution.","errorRemove":"There was an error unmarking as solution.","solved":"Solved"},"localOverride":false},"CachedAsset:text:en_US-components/messages/ThreadedReplyList-1745505309795":{"__typename":"CachedAsset","id":"text:en_US-components/messages/ThreadedReplyList-1745505309795","value":{"title":"{count, plural, one{# Reply} other{# Replies}}","title@board:BLOG":"{count, plural, one{# Comment} other{# Comments}}","title@board:TKB":"{count, plural, one{# Comment} other{# Comments}}","title@board:IDEA":"{count, plural, one{# Comment} other{# Comments}}","title@board:OCCASION":"{count, plural, one{# Comment} other{# Comments}}","noRepliesTitle":"No Replies","noRepliesTitle@board:BLOG":"No Comments","noRepliesTitle@board:TKB":"No Comments","noRepliesTitle@board:IDEA":"No Comments","noRepliesTitle@board:OCCASION":"No Comments","noRepliesDescription":"Be the first to reply","noRepliesDescription@board:BLOG":"Be the first to comment","noRepliesDescription@board:TKB":"Be the first to comment","noRepliesDescription@board:IDEA":"Be the first to comment","noRepliesDescription@board:OCCASION":"Be the first to comment","messageReadOnlyAlert:BLOG":"Comments have been turned off for this post","messageReadOnlyAlert:TKB":"Comments have been turned off for this article","messageReadOnlyAlert:IDEA":"Comments have been turned off for this idea","messageReadOnlyAlert:FORUM":"Replies have been turned off for this discussion","messageReadOnlyAlert:OCCASION":"Comments have been turned off for this event"},"localOverride":false},"Rank:rank:5":{"__typename":"Rank","id":"rank:5","position":7,"name":"MVP","color":"0069D4","icon":null,"rankStyle":"FILLED"},"User:user:521":{"__typename":"User","id":"user:521","uid":521,"login":"SergeiBaklan","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2016-07-15T09:33:17.456-07:00"},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://techcommunity.microsoft.com/t5/s/gxcuf89792/images/dS01MjEtaGNpQXhx?image-coordinates=761%2C556%2C2907%2C2703"},"rank":{"__ref":"Rank:rank:5"},"entityType":"USER","eventPath":"community:gxcuf89792/user:521"},"ModerationData:moderation_data:3881744":{"__typename":"ModerationData","id":"moderation_data:3881744","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:3881744":{"__typename":"ForumReplyMessage","uid":3881744,"id":"message:3881744","revisionNum":1,"author":{"__ref":"User:user:521"},"readOnly":false,"repliesCount":1,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:ExcelGeneral"},"parent":{"__ref":"ForumReplyMessage:message:3881614"},"conversation":{"__ref":"Conversation:conversation:3875795"},"subject":"Re: Script Lab Error \"This add-in could not be started\"","moderationData":{"__ref":"ModerationData:moderation_data:3881744"},"body":"
As for the error itself main question do you have such error for other web add-ins (e.g. Advanced Formula Environment aka Excel Lab, whatever) or such error is specifically for Scrip Lab.
\n
\n
If you have an error for other add-ins as well it could depend on combination of many factors, I'd start from WebView2 if it installed correctly.
\n
\n
I believe you google around, just in case couple of links which could help
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"218","kudosSumWeight":0,"postTime":"2023-07-23T10:22:09.069-07:00","lastPublishTime":"2023-07-23T10:22:09.069-07:00","metrics":{"__typename":"MessageMetrics","views":2634},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:microsoft365/category:products-services/category:communities/community:gxcuf89792board:ExcelGeneral/message:3875795/message:3881744","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjUuMXwyLjF8aXwzfDEzMjowfGludCwzODgxODUxLDM4ODE4NTE","node":{"__ref":"ForumReplyMessage:message:3881851"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:3881851":{"__typename":"ModerationData","id":"moderation_data:3881851","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:3881851":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:1822248"},"id":"message:3881851","revisionNum":1,"uid":3881851,"depth":4,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:ExcelGeneral"},"parent":{"__ref":"ForumReplyMessage:message:3881744"},"conversation":{"__ref":"Conversation:conversation:3875795"},"subject":"Re: Script Lab Error \"This add-in could not be started\"","moderationData":{"__ref":"ModerationData:moderation_data:3881851"},"body":"The error only occurs for \"Custom Functions\" samples in Script Lab. I tried \"Comment\" samples in Script Lab and those samples worked. The only difference is that \"Custom Functions\" samples are UDFs, while other samples are not UDFs.
I tried running using Excel web, and it worked. But I cannot limit myself to using Excel web since certain key functionalities in Excel are only available on the Desktop app.
I tried a full reinstall of Microsoft Office on my Desktop, and also ran a \"repair\" on WebView2, but the issue remains.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"203","kudosSumWeight":0,"repliesCount":0,"postTime":"2023-07-23T19:11:55.452-07:00","lastPublishTime":"2023-07-23T19:11:55.452-07:00","metrics":{"__typename":"MessageMetrics","views":2605},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:microsoft365/category:products-services/category:communities/community:gxcuf89792board:ExcelGeneral/message:3875795/message:3881851","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:3881632":{"__typename":"ModerationData","id":"moderation_data:3881632","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:3881632":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:722750"},"id":"message:3881632","revisionNum":1,"uid":3881632,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:ExcelGeneral"},"parent":{"__ref":"ForumReplyMessage:message:3881614"},"conversation":{"__ref":"Conversation:conversation:3875795"},"subject":"Re: Script Lab Error \"This add-in could not be started\"","moderationData":{"__ref":"ModerationData:moderation_data:3881632"},"body":"
Script Lab was developed by the Microsoft Office team as an open-source project. Since it is an open-source project, it does not have a traditional support team. Instead, users typically seek help through GitHub repositories or community forums.
To contact the Script Lab community or find assistance, you can try the following:
GitHub Repository: Script Lab's primary development and issue tracking take place on GitHub. You can visit the official Script Lab GitHub repository at https://github.com/OfficeDev/office-js-docs-pr and check the \"Issues\" section to see if anyone else has reported a similar problem or ask a new question if needed.
Please note that since Script Lab is an open-source project, the level of support might differ from traditional commercial software. However, many open-source communities are very active and helpful, and you might find valuable assistance there.
As my knowledge is based on information available up to September 2021, there might have been updates or changes related to Script Lab or its support channels. I recommend visiting the official Script Lab website, checking the Microsoft AppSource, or referring to other up-to-date resources to get the latest information and contact details. Remember that for general Microsoft Office-related issues, you can always reach out to Microsoft support directly for assistance.
Alternative UDF Solutions: If Script Lab still does not work, consider using native Excel functionality or alternative UDF solutions available through other add-ins or custom VBA code.
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.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"208","kudosSumWeight":0,"repliesCount":0,"postTime":"2023-07-23T00:28:25.639-07:00","lastPublishTime":"2023-07-23T00:28:25.639-07:00","metrics":{"__typename":"MessageMetrics","views":2632},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:microsoft365/category:products-services/category:communities/community:gxcuf89792board:ExcelGeneral/message:3875795/message:3881632","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"CachedAsset:text:en_US-components/tags/TagView/TagViewChip-1745505309795":{"__typename":"CachedAsset","id":"text:en_US-components/tags/TagView/TagViewChip-1745505309795","value":{"tagLabelName":"Tag name {tagName}"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/common/Pager/PagerLoadMore-1745505309795":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/common/Pager/PagerLoadMore-1745505309795","value":{"loadMore":"Show More"},"localOverride":false}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"excelgeneral","messageSubject":"script-lab-error-this-add-in-could-not-be-started","messageId":"3875795","replyId":"3881614"},"buildId":"HEhyUrv5OXNBIbfCLaOrw","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","openTelemetryClientEnabled":false,"openTelemetryConfigName":"o365","openTelemetryServiceVersion":"25.1.0","openTelemetryUniverse":"prod","openTelemetryCollector":"http://localhost:4318","openTelemetryRouteChangeAllowedTime":"5000","apolloDevToolsEnabled":false,"inboxMuteWipFeatureEnabled":false},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["./components/seo/QAPageSchema/QAPageSchema.tsx","./components/community/Navbar/NavbarWidget.tsx","./components/community/Breadcrumb/BreadcrumbWidget.tsx","./components/customComponent/CustomComponent/CustomComponent.tsx","./components/messages/TopicWithThreadedReplyListWidget/TopicWithThreadedReplyListWidget.tsx","./components/external/components/ExternalComponent.tsx","./components/messages/MessageView/MessageViewStandard/MessageViewStandard.tsx","../shared/client/components/common/List/UnwrappedList/UnwrappedList.tsx","./components/tags/TagView/TagView.tsx","./components/tags/TagView/TagViewChip/TagViewChip.tsx","../shared/client/components/common/List/UnstyledList/UnstyledList.tsx","./components/messages/MessageView/MessageView.tsx","../shared/client/components/common/Pager/PagerLoadMore/PagerLoadMore.tsx"],"appGip":true,"scriptLoader":[{"id":"analytics","src":"https://techcommunity.microsoft.com/t5/s/gxcuf89792/pagescripts/1730819800000/analytics.js?page.id=ForumReplyPage&entity.id=board%3Aexcelgeneral&entity.id=message%3A3881614","strategy":"afterInteractive"}]}