Open Text File with Excel via Applescript

M

Mark Aalyson

Are there any scripters in the group who can give me a simple script syntax
for opening a generic comma delimited text document in Excel? I can easily
do this with the File>Open menu in Excel, which brings up the Text Wizard
and allows me to set the delimiter and the data formats. However I am
failing at trying to accomplish this via Applescript using the "Open" and
"openText" commands. I get an error message that suggests that the event is
being sent to the document and not to the application: something like
"document xxx doesn't understand the openText command."

Thanks for any help.

M.A.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top