I don't ask questions of forums without spending a great deal of time searching for answers first. But this one seems so easy yet it hasn't worked after hours of searching
I wan excel to open a workbook. I have excel 2004 and OSX
my code is
tell application "Microsoft Excel" to open workbook workbook file name "HD:User:internesktop:learningAS:SL__FORECAST.xls" with read only
the error I get is from excel saying
"SL__FORECAST.xls" cannot be accessed the file may be read-only, or you may be trying to access a read only location. Or the server the document is stored on may not be responding. "
I've tried it with "read only", and without. Tried it with different files that have been local and on a server. I've tried it with excel open and closed. I've tried changing the permissions on the file to be world read-writeable. I've tried all kinds of different syntax modifications among them:
tell application "Microsoft Excel" to open "HD:User:internesktop:learningAS:SL__FORECAST.xls
I keep getting the same error. Does applescript run as some kind of funny user?
thanks in advance,
-matt
"Applescript is so easy it's like writing in english" <-- ********
I wan excel to open a workbook. I have excel 2004 and OSX
my code is
tell application "Microsoft Excel" to open workbook workbook file name "HD:User:internesktop:learningAS:SL__FORECAST.xls" with read only
the error I get is from excel saying
"SL__FORECAST.xls" cannot be accessed the file may be read-only, or you may be trying to access a read only location. Or the server the document is stored on may not be responding. "
I've tried it with "read only", and without. Tried it with different files that have been local and on a server. I've tried it with excel open and closed. I've tried changing the permissions on the file to be world read-writeable. I've tried all kinds of different syntax modifications among them:
tell application "Microsoft Excel" to open "HD:User:internesktop:learningAS:SL__FORECAST.xls
I keep getting the same error. Does applescript run as some kind of funny user?
thanks in advance,
-matt
"Applescript is so easy it's like writing in english" <-- ********