Skip to content

Instantly share code, notes, and snippets.

@akrnmd
Last active October 3, 2020 00:02
Show Gist options
  • Select an option

  • Save akrnmd/519ae16199fe968a805f393235617d9a to your computer and use it in GitHub Desktop.

Select an option

Save akrnmd/519ae16199fe968a805f393235617d9a to your computer and use it in GitHub Desktop.
Get Data From Xlsx File. #SenseTalk #eggplant
set ExcelFile to Workbook(ResourcePath("Data.xlsx"))
set ExcelSheet to ExcelFile.Wrksheet("Sheet1")
put ((Cell(ExcelSheet, "A1"),),) into MyCellA1
log MyCellA1
put ((ExcelSheet.Cell(1,2),),) into MyCellA2
log MyCellA2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment