AppleScript to get embedded Excel worksheet

J

Jason8

Hi:

Does anyone know how to use AppleScript to select an Excel worksheet
embedded in a Word document?
 
J

Jason8

Hi:

Does anyone know how to use AppleScript to select an Excel worksheet
embedded in a Word document?

One possible answer is....

tell application "Microsoft Excel"
activate
--copy range (range "A1:J10" of sheet "Sheet1" of active workbook)
copy range range "A1:D7"

tell application "Microsoft Word"
activate
paste excel table text object of selection with linked to Excel and
RTF without word formatting

end tell
end tell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top