I can write any data to Excel and modify the properties of the worksheet. However,every time I try to assign a cell a simple function as:
=AVERAGE(A1:A20)
the Excel worksheet shows the error message "#NAME?" in that cell, meanning it doesn't recognize the function. However, when I manually select the function (F2) for editing and press ENTER, Excel exceutes it. I'm using the ExcelRangeSetItem function to assign values to a cell.