Very Good! Thank you SG!!!
if I wanted to combine the follow two scripts (adding a new cell in the table MenuCell)?
**** 1 ****
set menuCell to {"MenuCell", "A1"}
set tblCells to {{"TableOne", {"I3", "J3"}}}
repeat with i in tblCells
repeat with c in i's item 2's items
copyPaste("MenuCell", "A1", "c")
copyPaste(i's item 1 as text, c as text, "v")
end repeat
end repeat
tocopyPaste(tblName, cellName, typekey)
tell application "Numbers"
set t to front document's active sheet's table tblName
set t'sselection rangetot'scellcellName
activate
tell application "System Events" to keystroke typekey using {command down}
end tell
endcopyPaste
**** 2 ****
set menuCell to {"MenuCell", "A2"}
set tblCells to {{"TableTwo", {"I3", "J3"}}}
repeat with i in tblCells
repeat with c in i's item 2's items
copyPaste("MenuCell", "A1", "c")
copyPaste(i's item 1 as text, c as text, "v")
end repeat
end repeat
tocopyPaste(tblName, cellName, typekey)
tell application "Numbers"
set t to front document's active sheet's table tblName
set t'sselection rangetot'scellcellName
activate
tell application "System Events" to keystroke typekey using {command down}
end tell
endcopyPaste