Color Selected

Basic Exercise


Statement

Add a button to the worksheet, using the Developer ribbon (Form controls), and assign it to a macro that changes the background color of selected cells to green.


Suggested Concepts:

Remember that in most cases there is more than one way to solve the exercise.

Hint: It is possible to use the RGB color model to define the background color of cells.


Show Answer

Download exercise Download answer



SuperExcelVBA.com is learning website. Examples might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. All Rights Reserved.

Excel ® is a registered trademark of the Microsoft Corporation.

© 2024 SuperExcelVBA | ABOUT

Protected by Copyscape