Yes, you can programmatically start Excel, open a workbook, select a particular cell, and add a value to that cell. The CreateObject function creates an instance of Excel and returns a reference to that object to the variable named XL. You use XL to manipulate Excel in all ways. By default, Excel will be invisible when opened in this way. You can set the Visible property to True, which it does not affect functionality except that it takes extra time to display Excel. The Open method accepts a path and filename to the file to open, and the Range object allows you to select a particular cell on a particular sheet. Finally, you can use the FormulaR1C1 property of the ActiveCell (the selected cell) to set new text. Here is the complete code:
Dim XL Set XL = CreateObject("Excel.Application") XL.Visible = True XL.Workbooks.Open filename:="C:MyWorkbook.xls" XL.Sheets("MySheet").Range("A1").Select ActiveCell.FormulaR1C1 = "chip"