I have the following script, which doesn’t do much, it opens excel and then prints in the cell nam into the right cell, only A1-3 through to E1-3
set excelFile to "Shared G4 HD:Users:karrenmay:Desktop:test.xls"
set columnList to {"A", "B", "C", "D", "E"}
tell application "Microsoft Excel"
launch
Open excelFile
repeat with j from 1 to (count columnList)
set columnItem to item j of columnList
repeat with i from 1 to 3
set valueOf to columnItem & i
display dialog valueOf
set Value of Cell valueOf to valueOf
end repeat
end repeat
end tell
If you can it would be good if you coule run it and see my problem, i cant explain it.
Also i would like to close the file and save it but i dont know how, have tried things like save current document and so on. But no luck
Any ideas?