numbers - AppleScript get the Name of the cell -


i'm trying script search range in number's documents email address , tell me cell email in.

tell application "numbers" tell document 1 tell sheet 1 tell table 1     set theemail "email@email.com"     set therange range "a:a"     set thecell name of cell equal therange return thecell end tell 

try this

tell application "numbers"     tell document 1 tell sheet 1 tell table 1         set theemail "email@email.com"         set therange range "a:a"         try             return name of 1st cell of therange value theemail         on error             return missing value         end try     end tell end tell 

Comments