You are on page 1of 4

Count Interior Colors

Objective: Write a VBA function that will count the number of cells in a range with a specified interior color
Write a VBA sub that calls the function and displays the result in a MsgBox
Call the function in an Excel for the Colors given on the Colors Worksheet
Note: Manual Calcuation is set: Press F9 to recalculate

Name: Mike Inglis


Date: 11/14/2020

This study source was downloaded by 100000875765538 from CourseHero.com on 11-28-2023 08:51:11 GMT -06:00

https://www.coursehero.com/file/81847233/Assignment-10-Count-Colors-Startxlsm/
cified interior color

This study source was downloaded by 100000875765538 from CourseHero.com on 11-28-2023 08:51:11 GMT -06:00

https://www.coursehero.com/file/81847233/Assignment-10-Count-Colors-Startxlsm/
Color White Red Blue Green
ColorIndex 16777215 255 16711680 5287936
Number of Cells

This study source was downloaded by 100000875765538 from CourseHero.com on 11-28-2023 08:51:11 GMT -06:00

https://www.coursehero.com/file/81847233/Assignment-10-Count-Colors-Startxlsm/
Yellow
65535

This study source was downloaded by 100000875765538 from CourseHero.com on 11-28-2023 08:51:11 GMT -06:00

https://www.coursehero.com/file/81847233/Assignment-10-Count-Colors-Startxlsm/
Powered by TCPDF (www.tcpdf.org)

You might also like