Article ID: 188664
Article Last Modified on 6/17/2005
tell application "Microsoft Excel"
-- Activates Microsoft Excel.
Activate
-- Assigns the value of cell A1 to the variable myvar.
copy Value of Cell "A1" to myvar
-- Displays a dialog box with the value of myvar.
display dialog myvar
-- Assigns the value of myvar to cell B1.
set Value of Cell "B1" to myvar & " test"
end tell184440 MacXL: How to Run VBA Procedures from AppleScript
Additional query words: XL98
Keywords: kbhowto kbprogramming kbdtacode KB188664