I am trying to calculate the values of three cells in Excel from VB.
I have the following:
with excelcalculations
.Cells("B17"
.Value = "=(5*5)"
.Cells("C17"
.Value = "=Sum(C2:C16)"
.Cells("D17"
.Formula = "=Sum(D15
16)"
end with
None of these cells are getting populated using this convention. Any suggestions?
Thanks
I have the following:
with excelcalculations
.Cells("B17"
.Cells("C17"
.Cells("D17"
end with
None of these cells are getting populated using this convention. Any suggestions?
Thanks