J
jodleren
Hi
I seem to have problems to add a formula to a cell.
I generat a string like "=SUM(A1;H7;U7)" and apply it like
ActiveSheet.Cells(y + k + 1, x + 1).Value = sValue
ActiveSheet.Cells(y + k + 1, x + 1).Text = sValue
ActiveSheet.Cells(y + k + 1, x + 1).Formula = sValue
and the all give an "object error"
why????
I seem to have problems to add a formula to a cell.
I generat a string like "=SUM(A1;H7;U7)" and apply it like
ActiveSheet.Cells(y + k + 1, x + 1).Value = sValue
ActiveSheet.Cells(y + k + 1, x + 1).Text = sValue
ActiveSheet.Cells(y + k + 1, x + 1).Formula = sValue
and the all give an "object error"
why????