I am using Office 2011 for Mac, in the Excel application, is it possible somehow to read how many cells in a row are red colored?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s an AppleScript that returns the column & row numbers of cells that have a red fill. Or are you looking for a language other than AppleScript?
I bet that a single-line script like
tell application "Microsoft Excel" to tell active sheet to return every cell of used range whose interior object's color is {255, 0, 0}would run faster, but I can’t figure out the exact wording.