NX Failed to connect to Excel events

2024-07-23T09:23:17Z
NX for Design

Summary


Details

The following error occurs when try to start Excel from NX (e.g. Tools->Spreadsheet in Modeling):


The following errors can be found in the NX syslog file:

SPREADSHEET ERROR: D:\workdir\Patches\NX2406_Series\wntx64\vc_projects\ExcelITF\SPRDCreate.cpp/615:starting excel failed with code -2146827284
SPREADSHEET ERROR: D:\workdir\Patches\NX2406_Series\wntx64\vc_projects\ExcelITF\SPRDCreate.cpp/620:starting excel failed with code -2146827284excel startup error description: Cannot run the macro 'UGSetEventSink'. The macro may not be available in this workbook or all macros may be disabled.
EXCELITF: terminating Excel process 32632

The error may occur when Add-ins are disabled in Trust Center*, e.g.:



Trust Center can be started within Excel using File->Options->Trust Center.

Platforms
  • na windows-1064
Release Versions
  • NX V2206
  • NX V2212
  • NX V2306
  • NX V2312
  • NX V2406
Solution

The issue can be avoided by adding the directory where the Add-in SPLM.ExcelAddin is located to the Trusted Locations in Trust Center:



Notes

KB Article ID# PL8774705

Contents

SummaryDetails

Associated Components

Drafting Modeling