Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do I Loop and Change Button Color???

How do I loop through a column and change different button's colors
based on corresponding cells values??
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default How do I Loop and Change Button Color???

This one liner should get you started.

Sub changeShapecolor()
ActiveSheet.Shapes("Rectangle 9") _
.Fill.ForeColor.SchemeColor = 12
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Zach" wrote in message
...
How do I loop through a column and change different button's colors
based on corresponding cells values??


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Loop range change a cell color CR[_2_] Excel Programming 4 November 12th 09 03:04 PM
Trying to loop through all shapes on multiple worksheets and change color [email protected] Excel Programming 1 April 14th 06 12:25 AM
how to get my button on a for mto change color Pierre[_2_] Excel Programming 0 November 22nd 05 08:43 PM
Command Button Color For Next Loop John Wilson Excel Programming 3 September 15th 05 05:57 PM
Loop to change cell color based on found value? gaba Excel Programming 3 November 3rd 04 02:33 PM


All times are GMT +1. The time now is 06:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"