File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
FAQ/Copy Used Range/.NET/CopyUsedRange/CopyUsedRange Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public static void Main(string[] args)
1010 {
1111 IApplication application = excelEngine . Excel ;
1212 application . DefaultVersion = ExcelVersion . Xlsx ;
13- IWorkbook sourceWorkbook = excelEngine . Excel . Workbooks . Open ( Path . GetFullPath ( @"Data/Source.xlsx" ) ) ;
14- IWorkbook destinationWorkbook = excelEngine . Excel . Workbooks . Open ( Path . GetFullPath ( @"Data/Destination.xlsx" ) ) ;
13+ IWorkbook sourceWorkbook = application . Workbooks . Open ( Path . GetFullPath ( @"Data/Source.xlsx" ) ) ;
14+ IWorkbook destinationWorkbook = application . Workbooks . Open ( Path . GetFullPath ( @"Data/Destination.xlsx" ) ) ;
1515
1616 IWorksheet sourceWorksheet = sourceWorkbook . Worksheets [ "Sheet1" ] ;
1717 IWorksheet destinationWorksheet = destinationWorkbook . Worksheets [ "Sheet1" ] ;
You can’t perform that action at this time.
0 commit comments