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

不能取得类 Worksheet 的 Move 属性 #921

Open bovender opened 4 years ago

bovender commented 4 years ago

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

Exception:

System.Runtime.InteropServices.COMException (0x800A03EC): 不能取得类 Worksheet 的 Move 属性
   at System.Dynamic.ComRuntimeHelpers.CheckThrowException(Int32 hresult, ExcepInfo& excepInfo, UInt32 argErr, String message)
   at CallSite.Target(Closure , CallSite , ComObject , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at CallSite.Target(Closure , CallSite , Object , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
   at XLToolbox.Excel.ViewModels.WorkbookViewModel.DoMoveSheetsToTop() in X:\Code\xltoolbox\NG\XLToolbox\Excel\ViewModels\WorkbookViewModel.cs:line 524
   at XLToolbox.Excel.ViewModels.WorkbookViewModel.<get_MoveSheetsToTop>b__27_0(Object parameter) in X:\Code\xltoolbox\NG\XLToolbox\Excel\ViewModels\WorkbookViewModel.cs:line 250
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter) in X:\Code\bovender\Bovender\Mvvm\DelegatingCommand.cs:line 121

Message: 不能取得类 Worksheet 的 Move 属性

Environment

Parameter Value
Version 7.3.4
OS Microsoft Windows NT 10.0.18362.0, 64-bit
Excel 365 (16.0.4939), 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 634e784d795f249ffad0d6edb74facfdd4771cb8f6253070af9c8c05bb0ce9f1