G Guest Mar 16, 2005 #1 I want to have a macro that will add a comment box to all the cells that the interior color index = 6. Anyone have any ideas? TIA, Kim
I want to have a macro that will add a comment box to all the cells that the interior color index = 6. Anyone have any ideas? TIA, Kim
B Bob Phillips Mar 16, 2005 #3 Kim, Her is an example that works on the current selection. -- HTH RP (remove nothere from the email address if mailing direct)
Kim, Her is an example that works on the current selection. -- HTH RP (remove nothere from the email address if mailing direct)
B Bob Phillips Mar 16, 2005 #4 Well here it is Dim c As Range For Each c In Selection If c.Interior.ColorIndex = 6 Then c.AddComment c.Address End If Next c -- HTH RP (remove nothere from the email address if mailing direct)
Well here it is Dim c As Range For Each c In Selection If c.Interior.ColorIndex = 6 Then c.AddComment c.Address End If Next c -- HTH RP (remove nothere from the email address if mailing direct)
G Guest Mar 17, 2005 #5 Perfect! Thanks! Kim Bob Phillips said: Well here it is Dim c As Range For Each c In Selection If c.Interior.ColorIndex = 6 Then c.AddComment c.Address End If Next c -- HTH RP (remove nothere from the email address if mailing direct) Click to expand...
Perfect! Thanks! Kim Bob Phillips said: Well here it is Dim c As Range For Each c In Selection If c.Interior.ColorIndex = 6 Then c.AddComment c.Address End If Next c -- HTH RP (remove nothere from the email address if mailing direct) Click to expand...