02-22-2014, 08:49 AM
Thanks. I found a solution by using an err if the error popup window isn't found, which means no duplicate was found.
;this is the code for the spreadsheet
;this is the code for the spreadsheet
int w1=win("" "XLMAIN")
act w1
;this is the code for the find box
int w2=win("Find" "bosa_sdm_XL9")
act w2
;this is the code for the "Kingosft Spreadsheets cannot find the data you're searching for. Please check your search options."
int w=win("Spreadsheets" "QWidget")
act w
err
key "no dupe"