• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I change Object Color in Excel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: file objects
  • Next by Date: Address Book buggy in 10.6?
  • Previous by thread: Re: file objects
  • Next by thread: Address Book buggy in 10.6?
  • Index(es):
    • Date
    • Thread