Applescript "open text file" in Excel

hey all–

i am trying to use applescript to open a text file in microsoft excel 2004 for mac, and keep getting the error message “Microsoft Excel got an error: Can’t continue open text file.”

i am using the correct commands and parameters from the applescript library, but it still isn’t working. the script is below.

set filetoload to choose file
set filetoload to filetoload as string
tell application "Microsoft Excel"
	open text file filename filetoload origin Macintosh start row 1 data type delimited text qualifier text qualifier double quote field info {general format, general format, general format, general format, text format, general format, general format, general format, general format} with tab without consecutive delimiter
end tell

any ideas?

thanks

-b

AppleScript: 2.1.1
Browser: Firefox 2.0.0.4
Operating System: Mac OS X (10.4)

Hi,

the parameter field info {…} causes the error, but I don’t know why