Getting error message on compile: Expected "" but found end of file

I am perplexed.somewhat experienced with applescript but trying more complex tasks.Here is the script:

tell application “Microsoft Excel”
set myBook to active workbook
set mySheet to sheet 1 of myBook
set myrange to get range “A:A, C:C” of mySheet
delete range myrange

set destinationPath to (path to desktop as text) & "Newcase.csv"

save active workbook in destinationPath

end tell

The error message place shown is before end says Expected “” but found end of file

I have searched for an answer but to no avail.

Any ideas?



Model: iMac
AppleScript: 2.4.3
Browser: Safari 537.78.2
Operating System: Mac OS X (10.7)


check the trailing double quote of “Newcase.csv”. It seems to be not the standard double quote character (0x22)


Good eye, man! It worked. Thanks for your quick response.


i just read the error message: Expected double quote. Normally the cause is a generally missing double quote or the most recent double quote before the error message is bad.


Thanks.that is very helpful for the future.