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

rfbroadband

macrumors newbie
Original poster
Aug 31, 2009
1
0
Austin, TX
since Excel no longer supports VB I want to use AppleScript to define functions that can be called from Excel.

very simple example:

on timesTwo(num)
return num * 2
end timesTwo

I want to be able to call that function from Excel and not! within the AppleScript.

Using AppleScript to parse information into Excel cells works ok, but I need to create complicated functions in a script that can be called from Excel.

thanks for your help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.