Try using value at the end

Blah  = excel.worksheets(4).Range("B2:J2").Value
puts Blah


On Dec 1, 12:46 pm, [EMAIL PROTECTED] wrote:
> All,
>
> I am trying to enter the contents of an array into an excel range.
> Here is a sample of what I am doing now:
>
> array = (0,1,2)
>
> excel.Range("A1::A3) = array
>
> When I do this cells a1, a2, and a3 are all set to 0, and not 0,1,2 as
> I am expecting.  Can someone please assist me with this?  I can
> elaborate if necessary.  Thanks in advance.
>
> Shelton
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to