The following represent values inserted into their respective cells:
ExcelDoc.Sheets(1).Cells(1, 3).Value = "BSz 1 "
ExcelDoc.Sheets(1).Cells(1, 5).Value = "BSz 2"
ExcelDoc.Sheets(1).Cells(1, 7).Value = "BSz 3"
ExcelDoc.Sheets(1).Cells(1, 9).Value = "BSz 4"
ExcelDoc.Sheets(1).Cells(1, 11).Value = "BSz 5"
ExcelDoc.Sheets(1).Cells(1, 13).Value = "BSz 6"
ExcelDoc.Sheets(1).Cells(1, 15).Value = "BSz 7"
ExcelDoc.Sheets(1).Cells(1, 17).Value = "BSz 8"
ExcelDoc.Sheets(1).Cells(1, 19).Value = "BSz 9"
ExcelDoc.Sheets(1).Cells(1, 21).Value = "BSz 10"
How would I sum these and insert the result into a cell (I will also exclude the above values from the sheet)?
Grant.
ExcelDoc.Sheets(1).Cells(1, 3).Value = "BSz 1 "
ExcelDoc.Sheets(1).Cells(1, 5).Value = "BSz 2"
ExcelDoc.Sheets(1).Cells(1, 7).Value = "BSz 3"
ExcelDoc.Sheets(1).Cells(1, 9).Value = "BSz 4"
ExcelDoc.Sheets(1).Cells(1, 11).Value = "BSz 5"
ExcelDoc.Sheets(1).Cells(1, 13).Value = "BSz 6"
ExcelDoc.Sheets(1).Cells(1, 15).Value = "BSz 7"
ExcelDoc.Sheets(1).Cells(1, 17).Value = "BSz 8"
ExcelDoc.Sheets(1).Cells(1, 19).Value = "BSz 9"
ExcelDoc.Sheets(1).Cells(1, 21).Value = "BSz 10"
How would I sum these and insert the result into a cell (I will also exclude the above values from the sheet)?
Grant.