How to Add a Value to a Cell in Excel with AutoHotkey

Excel := ComObjCreate("Excel.Application") 
Excel.Visible := True

file := "C:\Users\User\Desktop\ExcelFile.xlsx" ; Path to file
Excel.Workbooks.Open(file) ; Open the file

Excel.Range("A1").Value := "hello world!" ; Set cell 'A1' to the value