Bonsoir,

Je récupère des données dans un tableau et elles s'incrèmentent dans une liste jusque là tout fonctionne.
Les différents item doivent être coller dans un autre tableau, de trois colonnes dans un autre fichier.

Merci pour votre aide

je pose le script ci dessous.

set Liste1 to {"08/09/2018", "GASOIL LA TURBIE", 58.0, "10/10/2018", "ESSENCE LYON", 70.25, "09/11/18", "ESSENCE PARIS", 80,55}

-- Ma liste recuperé depuis un tableau Numbers où la date est formaté texte

tell application "Numbers"

open "/Users/name/Desktop/nameFichier.numbers" -- Ouverture du fichier pour coller les items de la liste

tell front document

tell table "tableau 2" of sheet "ANNEE"
set x to count row
set b to x - 1




set b to b + 1

add row below last row
repeat with a from 1 to count of Liste1
set aRow to item a of Liste1

repeat with c from 1 to count aRow
set aValue to item c of aRow

set value of cell c of row (b + 1) to aValue -- Les données sont collées dans le tableau et à partir d'ici ca bug

clear cell c of row (a + 1)

end repeat


end repeat

end tell


end tell
end tell