mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-11-29 18:38:08 +08:00
bug: Cannot do this for multiple selection (#641)
When tabSelected="1", the resulting Excel will say "Cannot do this for multiple selected areas" Signed-off-by: Gary Jia <35099424+jiaguangli@users.noreply.github.com>
This commit is contained in:
parent
67e97f36b5
commit
c92aa0dc17
@ -16,7 +16,7 @@ namespace MiniExcelLibs.OpenXml.Constants
|
||||
internal const string StartSheetViews = "<x:sheetViews>";
|
||||
internal const string EndSheetViews = "</x:sheetViews>";
|
||||
|
||||
internal static string StartSheetView( int tabSelected=1, int workbookViewId=0 )
|
||||
internal static string StartSheetView( int tabSelected=0, int workbookViewId=0 )
|
||||
=> $"<x:sheetView tabSelected=\"{tabSelected}\" workbookViewId=\"{workbookViewId}\">";
|
||||
internal const string EndSheetView = "</x:sheetView>";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user