"set_value" method is not working in both excel and excelx

66 views
Skip to first unread message

Gokul

unread,
Nov 23, 2009, 2:24:19 AM11/23/09
to ruby-roo
Hello Everyone,

oo.first_row.upto(oo.last_row) do |row|
oo.set_value(row, 12, "passed")
end

i am using the similar kid of code, but its not working with both
excel and excelx.
Please anyone help me....

-Gokula Murthy

Gokul

unread,
Nov 23, 2009, 2:23:15 AM11/23/09
to ruby-roo

Thomas Preymesser

unread,
Dec 14, 2009, 4:11:09 AM12/14/09
to ruby-roo


On Nov 23, 8:23 am, Gokul <railsthin...@gmail.com> wrote:
> Hello Everyone,
>
> oo.first_row.upto(oo.last_row) do |row|
> oo.set_value(row, 12, "passed")
> end

Why do you think you can call 'set_value'?
You cannot call 'set_value' because there is no (public) method named
'set_value' for Openoffice, Excel and Excelx spreadsheet types.
Please read the documentation of roo!

-Thomas


Reply all
Reply to author
Forward
0 new messages