How to Get a Value From 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

text := Excel.Range("A1").Value ; Get the text from cell 'A1'