Skip to content

Commit

Permalink
Merge pull request #44 from davidanthoff/fix-43
Browse files Browse the repository at this point in the history
Fix bug in readxlsheet function
  • Loading branch information
davidanthoff authored Oct 23, 2017
2 parents 66f607c + 1437884 commit 2c5c622
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ExcelReaders.jl
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ function convert_args_to_row_col(sheet;skipstartrows::Union{Int,Symbol}=:blanks,
end
if startrow==-1
error("Sheet has no data")
else
skipstartrows = startrow - 1
end
else
startrow = 1 + skipstartrows
Expand All @@ -142,6 +144,8 @@ function convert_args_to_row_col(sheet;skipstartrows::Union{Int,Symbol}=:blanks,
end
if startcol==-1
error("Sheet has no data")
else
skipstartcols = startcol - 1
end
else
startcol = 1 + skipstartcols
Expand Down

0 comments on commit 2c5c622

Please # to comment.