How do I change Object Color in Excel?
How do I change Object Color in Excel?
- Subject: How do I change Object Color in Excel?
- From: Christian Prinoth <email@hidden>
- Date: Sun, 28 Feb 2010 00:38:05 +0100
I am trying to do the following:
tell application "Microsoft Excel"
set ccc to color of font object of range "A1"
set color of font object of range "A1" to {255, 0, 0}
set ccc to color of font object of range "A1"
end tell
after the first line I get the result {221,8,6}, and after the third I still get the same, so obviously the second line is not doing anything.
It does work by using "color index" instead of "color", like this:
set font color index of font object of range "A1" to 3
but that is useless in situations where the palette has been modified.
Thanks for any help
Chris
_______________________________________________
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