?
Solved

Select specific RGB cell color

Posted on 2013-12-15
1
Medium Priority
?
351 Views
Last Modified: 2013-12-15
Folks,
I would like to set the interior color of a cell to a defined color. I've tried the code below and it is not working:
Range("N22").Select
With Selection
.Interior.ColorIndex = RGB(83, 141, 213)
End With
Worksheets("CalAverLargestNumbers").Range("N22").Interior.ColorIndex = RGB(83, 141, 213)

Open in new window

0
Comment
Question by:Frank Freese
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
Frank Freese earned 0 total points
ID: 39720396
figured it out:
Range("N22").Interior.color = RGB(83, 141, 213)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question