NX Error reported by MS Excel when a Part Family is created

2021-10-06T23:27:28Z
NX for Design

Summary


Details

--------------- 
Cannot get Excel 2010 to work with NX in Part Families.


The first error is:


 Microsoft Visual Basic


 Run-time error '-2147319779 (8002801d)':


 Automation error 
 Library not registered


The second error is:


 Microsoft Visual Basic


 Run-time error '91': 
 Object variable or With block variable not set



Solution

In an NX Command Prompt (Start - all Programs - Siemens NX x.x - NX Tools - 
Command Prompt) run as administrator:

For NX 10 and earlier:
regsvr32 "%UGII_BASE_DIR%\ugii\excelitf.dll"

For NX 11 and NX 12:
regsvr32 "%UGII_BASE_DIR%\nxbin\excelitf.dll"

Notes and References


Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 764
Product: NX
Application: ASSEMBLIES
Version: V11.0
Function: PART_FAMILIES

Ref: 001-7588441

KB Article ID# PL8015534

Contents

SummaryDetails

Associated Components

Assemblies