You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using "D1" or any uppercase letter followed by a number together with autofilter generates an exception. Lowercase initial letter is instead ok. Try this simple test code:
Racc::ParseError:
parse error on value "!" (error)
from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:350:in on_error' from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:99:in_racc_do_parse_c'
from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:99:in __send__' from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:99:in do_parse'
from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/formula.rb:206:inparse' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/formula.rb:40:in parse_formula'
from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/worksheet.rb:2952:instore_formula' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/worksheet.rb:7237:in store_filters'
from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/worksheet.rb:264:inclose' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1284:in calc_sheet_offsets'
from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1282:ineach' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1282:in calc_sheet_offsets'
from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1143:instore_workbook' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:152:in close'
from (irb):136
The text was updated successfully, but these errors were encountered:
Using "D1" or any uppercase letter followed by a number together with autofilter generates an exception. Lowercase initial letter is instead ok. Try this simple test code:
require 'rubygems'
require 'writeexcel'
workbook = WriteExcel.new(open('test.xls', 'w'))
worksheet = workbook.add_worksheet('D1')
worksheet.autofilter(0, 0, 0, 10)
workbook.close
I get:
Racc::ParseError:
parse error on value "!" (error)
from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:350:in
on_error' from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:99:in
_racc_do_parse_c'from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:99:in
__send__' from /home/drsound/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/racc/parser.rb:99:in
do_parse'from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/formula.rb:206:in
parse' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/formula.rb:40:in
parse_formula'from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/worksheet.rb:2952:in
store_formula' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/worksheet.rb:7237:in
store_filters'from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/worksheet.rb:264:in
close' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1284:in
calc_sheet_offsets'from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1282:in
each' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1282:in
calc_sheet_offsets'from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:1143:in
store_workbook' from /home/drsound/.rvm/gems/ruby-1.8.7-p352/gems/writeexcel-0.6.8/lib/writeexcel/workbook.rb:152:in
close'from (irb):136
The text was updated successfully, but these errors were encountered: