Export To Spreadsheet FaileD With Code -2146827284
Export To Spreadsheet FaileD With Code -2146827284
(OP)
NX randomly stopped allowing a user to export to excel and we are getting the error below. Have tried googling, searching this site and GTAC but unsure of what is happening. Worked fine 2 days ago. Excel works as a stand alone currently.
CODE -->
&MACRO FOCUS CHANGE IN 1 &MACRO FOCUS CHANGE IN 1 &MACRO CUSTOM HEADER 25 "UGTL_macro" 0 &MACRO CUSTOM 25 ANT * POPUP * 0 * UG_ANT_EXPORT_TO_SPREADSHEET ! SPREADSHEET INFO: SPRDCreate.cpp/489:Excel 2007 Spreadsheet SPREADSHEET INFO: SPRDCreate.cpp/336: Excel 2013 is installed on this machine SPREADSHEET INFO: SPRDCreate.cpp/619:Starting new Spreadsheet using file C:\Users\dbob\AppData\Local\Temp\ugx4D1A.tmp SPREADSHEET INFO: SPRDCreate.cpp/903:EXCELITF: Hooking up addins. SPREADSHEET ERROR: SPRDCreate.cpp/1027:starting excel failed with code -2146827284 SPREADSHEET ERROR: SPRDCreate.cpp/1032:starting excel failed with code -2146827284excel startup error description: Unable to set the Installed property of the AddIn class &MACRO FOCUS CHANGE IN 1 &MACRO MESSAGE_BOX -2, Failed to connect to Excel events &MACRO FOCUS CHANGE IN 1 &MACRO CUSTOM 25 ANT * POPUP * 0 * UG_ANT_TREE_SET_EXPAND_ALL_COMPONENTS ! &MACRO FOCUS CHANGE IN 1 &MACRO CUSTOM 25 ANT * POPUP * UG_ANT_EXPORT_TO_SPREADSHEET ! SPREADSHEET INFO: SPRDCreate.cpp/489:Excel 2007 Spreadsheet SPREADSHEET INFO: SPRDCreate.cpp/619:Starting new Spreadsheet using file C:\Users\dbob\AppData\Local\Temp\ugx71EA.tmp SPREADSHEET INFO: SPRDCreate.cpp/903:EXCELITF: Hooking up addins. SPREADSHEET ERROR: SPRDCreate.cpp/1027:starting excel failed with code -2146827284 SPREADSHEET ERROR: SPRDCreate.cpp/1032:starting excel failed with code -2146827284excel startup error description: Unable to set the Installed property of the AddIn class &MACRO FOCUS CHANGE IN 1 &MACRO MESSAGE_BOX -2, Failed to connect to Excel events &MACRO FOCUS CHANGE IN 1 &MACRO CUSTOM 25 ANT * POPUP * UG_ANT_EXPORT_TO_BROWSER ! &MACRO FOCUS CHANGE OUT 1 &MACRO FOCUS CHANGE OUT 1
DHuskic
Data Prep Nx 7.5 & Nx 8.5
Kettering University Class of '17





RE: Export To Spreadsheet FaileD With Code -2146827284
You can find the spreadsheet compatibility information by opening the release notes and going to: System information -> NX compatibility with spreadsheet
www.nxjournaling.com
RE: Export To Spreadsheet FaileD With Code -2146827284
DHuskic
Nx8.5 & Nx9.0
RE: Export To Spreadsheet FaileD With Code -2146827284
This might be a good question to take up with GTAC.
www.nxjournaling.com
RE: Export To Spreadsheet FaileD With Code -2146827284
I opened up the release notes and was looking at the specs and caveats, there was some troubleshooting tips on there that talked about not being to launch excel when no visible workbook was open. Basically stated to go into the task manager and kill the excel processes.
We had done a full restart on the computer, so we skipped this step the first time around but there must be something in the user's start up that does something with excel. Seems to be fixed for now, not sure what the bug was though.
DHuskic
Nx8.5 & Nx9.0
RE: Export To Spreadsheet FaileD With Code -2146827284
DHuskic
Nx8.5 & Nx9.0
RE: Export To Spreadsheet FaileD With Code -2146827284