Export data to Excel within functions

schmitzpm

New Member
I have to export data to a excel worksheet. It is not the problem to export the data and format it, but i have to set some functions in some cells.

When I write
Code:
  chWorkSheet:Range(cRange):VALUE = '=SUMME(E2:E329)'
I get
Code:
#NAME?
written in the cell.
If I dbclick the cell and click into another one, the function works.
What I have to do to make it work.
 
Back
Top