Pit Capitain
6/17/2005 8:57:00 AM
Fredrik Jagenheim schrieb:
> ...
> worksheet.Range('a1:c1')['Value'] = ['Test', '25', 'result']
> worksheet.Range('a2:a4')['Value'] = ['Test', '25', 'result']
>
> This results in:
> Test 25 result
> Test
> Test
> Test
Hi Fredrik,
just a guess, but maybe you need to feed values for more than one row as
an array of arrays: [['Test'], ['25'], ['result']]
If this doesn't work, you could try to fill the values one cell at a
time and look at the format of the data when reading the values:
worksheet.Range('a2:a2')['Value'] = ['Test']
worksheet.Range('a3:a3')['Value'] = ['25']
worksheet.Range('a4:a4')['Value'] = ['result']
p worksheet.Range('a2:a4')['Value']
HTH
Regards,
Pit