Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rdelmar

macrumors newbie
Original poster
Dec 15, 2008
3
0
I am trying to use Applescript to enter a formula into an Excel worksheet, something like this: "=if(A1="","",A2=A1*$P$24)", but Applescript doesn't accept the quotation marks inside the string. I have accomplished in VBA by using Chr(34) in place of the quotation marks, but Applescript gives me an error on this too. How do I get around this problem? (I'm using OS X Leopard with Excel 2004)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.