"Jess Gabriel y Galn" <jgabrielygalan / gmail.com> wrote in post #1095159:
> On Mon, Feb 4, 2013 at 5:01 PM, Barry Kavanagh <lists / ruby-forum.com>
> wrote:
>> Thank you for your explanation Jesus but I am just not sure where to
>> reposition the code to fix this, sorry I am new to ruby.
>
> I don't know the spreadsheet API, but if you need to pass the row
> number, you will need to count how many lines you filled in in the
> previous step. So create a variable added_lines = 0, outside of all
> loops, and increment it with the number of lines after adding them to
> the spreadsheet.
> Also, change sheet[i,a] to sheet1[added_lines + i, a]
>
> Jesus.

Ok I made those changes but getting no output to excel, only blank with no error code. :(

Attachments:
http://www.ruby-forum.com/attachment/8107/asus_nokogiri.rb