bovender / XLToolbox

Daniel's XL Toolbox is an open-source add-in for Excel(R) that assists with scientific and technical data analysis and visualization.
https://www.xltoolbox.net
Apache License 2.0
55 stars 10 forks source link

Unhandled VBA exception in # #909

Open bovender opened 4 years ago

bovender commented 4 years ago

This issue was submitted by the add-in's exception handler.

Exception:

XLToolbox.Legacy.UnhandledLegacyException: Unhandled VBA exception in # ---> System.Runtime.InteropServices.COMException: 无法运行“RunANOVA”宏。可能是因为该宏在此工作簿中不可用,或者所有的宏都被禁用。
   at Microsoft.Office.Interop.Excel._Application.Run(Object Macro, Object Arg1, Object Arg2, Object Arg3, Object Arg4, Object Arg5, Object Arg6, Object Arg7, Object Arg8, Object Arg9, Object Arg10, Object Arg11, Object Arg12, Object Arg13, Object Arg14, Object Arg15, Object Arg16, Object Arg17, Object Arg18, Object Arg19, Object Arg20, Object Arg21, Object Arg22, Object Arg23, Object Arg24, Object Arg25, Object Arg26, Object Arg27, Object Arg28, Object Arg29, Object Arg30)
   at XLToolbox.Legacy.LegacyToolbox.RunCommand(Command command) in X:\Code\xltoolbox\NG\XLToolbox\Legacy\LegacyToolbox.cs:line 167
   --- End of inner exception stack trace ---
   at XLToolbox.Legacy.LegacyToolbox.RunCommand(Command command) in X:\Code\xltoolbox\NG\XLToolbox\Legacy\LegacyToolbox.cs:line 248
   at XLToolbox.Dispatcher.Anova1Way() in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:line 363
   at XLToolbox.Dispatcher.Execute(Command cmd) in X:\Code\xltoolbox\NG\XLToolbox\Dispatcher.cs:line 76

Message: Unhandled VBA exception in #

Inner exception:

System.Runtime.InteropServices.COMException (0x800A03EC): 无法运行“RunANOVA”宏。可能是因为该宏在此工作簿中不可用,或者所有的宏都被禁用。
   at Microsoft.Office.Interop.Excel._Application.Run(Object Macro, Object Arg1, Object Arg2, Object Arg3, Object Arg4, Object Arg5, Object Arg6, Object Arg7, Object Arg8, Object Arg9, Object Arg10, Object Arg11, Object Arg12, Object Arg13, Object Arg14, Object Arg15, Object Arg16, Object Arg17, Object Arg18, Object Arg19, Object Arg20, Object Arg21, Object Arg22, Object Arg23, Object Arg24, Object Arg25, Object Arg26, Object Arg27, Object Arg28, Object Arg29, Object Arg30)
   at XLToolbox.Legacy.LegacyToolbox.RunCommand(Command command) in X:\Code\xltoolbox\NG\XLToolbox\Legacy\LegacyToolbox.cs:line 167

Inner exception message: 无法运行“RunANOVA”宏。可能是因为该宏在此工作簿中不可用,或者所有的宏都被禁用。

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.17763.0, 64-bit
Excel 365 (16.0.4266), 32-bit
CLR 4.0.30319.42000, 32-bit
VSTO runtime 10.0.60301
ClickOnce False
Bovender 0.18.0.0
FreeImage 3.18.0
Identifier bca99950d1c9158c3222adbf5ac989d603ab28481a8381c6a3982a662fd203e2