Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

NoMethodError: undefined method `row' for nil:NilClass #27

Closed
AbhisekGIT opened this issue Nov 16, 2018 · 1 comment
Closed

NoMethodError: undefined method `row' for nil:NilClass #27

AbhisekGIT opened this issue Nov 16, 2018 · 1 comment

Comments

@AbhisekGIT
Copy link

I was just trying the example for adding the border:

sheet.add_border 'B2:D5', { edges: [:bottom, :right], style: :thick, color: 'FF0000' }

But, I got error:

NoMethodError: undefined method row' for nil:NilClass from /dependencies/bundle/ruby/2.3.0/gems/axlsx-2.1.0.pre/lib/axlsx/workbook/worksheet/worksheet.rb:721:in range'

Whats wrong?

@AbhisekGIT
Copy link
Author

Sorry, I messed with the row count. So, B2:D4 works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant