I have a template to create new excel worksheets. It has several cells defined with a named range. I thought I would be able to use something like to put a value in the named cell, but I get an error "StartIndex cannot be less than zero"
worksheet.range["rangename"].Value = "abcd";
can someone point me in the right direction?
thanks