I guess I do not understand your instructions.
1. I highlighted the script instructions you provided and copied it into Script
tell application "Numbers"
tell front document to tell active sheet
tell (first table whose selection range's class is range)
set selRng to selection range
repeat with aCell in selRng's cells
tell aCell to if its formula is missing value then ¬
set its value to ""
end repeat
end tell
end tell
end tell
tell a
set its value to ""
end repeat
end tell
end tell
2. I opened the spreadsheet that is in Numbers and copied it.
3. Opened Script, clicked on the info I copied into Script and clicked on the arrow.
4. Got the following message: "Numbers got an error: Can't get document 1. Invalid index".
Can you detect what I did wrong? Thanks.
John