How do I Loop and Change Button Color???

  • Thread starter Thread starter Zach
  • Start date Start date
Z

Zach

How do I loop through a column and change different button's colors
based on corresponding cells values??
 
This one liner should get you started.

Sub changeShapecolor()
ActiveSheet.Shapes("Rectangle 9") _
.Fill.ForeColor.SchemeColor = 12
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

do...loop with timer problem 5
Button Color based on cell 12
conditional format based on column statistics and loop over columns 1
LOOP HELP! 1
Change cell color 1
Cell Interior Color 3
Need urgent help 0
Excel VBA 1

Back
Top