diff options
| author | Randy Morgan <[email protected]> | 2012-03-04 19:47:08 +0900 |
|---|---|---|
| committer | Sean Duckett <[email protected]> | 2012-03-07 14:45:03 -0600 |
| commit | 46b53746d467ab6e3d844600e702070fe18b5190 (patch) | |
| tree | d520e7a6e5b8e166768a76080bcc5cd6668899a1 | |
| parent | 1e2b0111da0ff832a94ba340fcbf2a3f63d52647 (diff) | |
| download | caxlsx-46b53746d467ab6e3d844600e702070fe18b5190.tar.gz caxlsx-46b53746d467ab6e3d844600e702070fe18b5190.zip | |
proper workbookview id - should be 0 based index iirc
| -rw-r--r-- | lib/axlsx/workbook/worksheet/worksheet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/worksheet.rb b/lib/axlsx/workbook/worksheet/worksheet.rb index 135075f4..672ba9e0 100644 --- a/lib/axlsx/workbook/worksheet/worksheet.rb +++ b/lib/axlsx/workbook/worksheet/worksheet.rb @@ -337,7 +337,7 @@ module Axlsx xml.dimension :ref=>dimension unless rows.size == 0 # this is required by rubyXL, spec says who cares - but it seems they didnt notice xml.sheetViews { - xml.sheetView(:tabSelected => 1, :workbookViewId => 1) { + xml.sheetView(:tabSelected => 1, :workbookViewId => 0) { xml.selection :activeCell=>"A1", :sqref => "A1" } } |
