Setting cell styles
Setting cell styles
- Subject: Setting cell styles
- From: Jeremy Roussak <email@hidden>
- Date: Fri, 16 Nov 2012 17:50:31 +0000
Is there an easy way to set all the cells in a particular column of a table to the same style? I know I can loop, and this works:
tell active document set mytable to table 1 set myttr to Word style "ttr" end tell
set rowCount to count mytable's rows
repeat with i from 1 to rowCount set txt to text object of (get cell from table mytable row i column 2) set txt's style to myttr end repeat
but it doesn't look nice.
TIA
Jeremy
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden