Where can i find an apple script to insert rows in Excel2008

S

Scott1

I am not familiar with scripting and don't have time to learn it. Is there a place were i can find existing apple scripts for download?

In particular i am looking for own that inserts X number of rows.

I could also use one that changes the cell and font color.
Thanks.
 
J

JE McGimpsey

I am not familiar with scripting and don't have time to learn it. Is there a
place were i can find existing apple scripts for download?

In particular i am looking for own that inserts X number of rows.

One way:

set X to 4
tell application "Microsoft Excel"
set insert_range to get resize active cell row size X
insert into range insert_range shift shift down
end tell

I could also use one that changes the cell and font color.

tell application "Microsoft Excel"
set color index of interior object of selection to 3
set font color index of font object of selection to 2
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