#1   Report Post  
Kim
 
Posts: n/a
Default Adding Comments

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
  #2   Report Post  
Dave O
 
Posts: n/a
Default

It's pretty straightforward... what should the comment box say?

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Kim,

Her is an example that works on the current selection.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Kim" wrote in message
...
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



  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

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)


"Bob Phillips" wrote in message
...
Kim,

Her is an example that works on the current selection.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Kim" wrote in message
...
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





  #5   Report Post  
Kim
 
Posts: n/a
Default

Perfect! Thanks!

Kim

"Bob Phillips" wrote:

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)


"Bob Phillips" wrote in message
...
Kim,

Her is an example that works on the current selection.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Kim" wrote in message
...
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








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
How do I protect my comments from being edited by another user? Laura L Excel Discussion (Misc queries) 5 March 16th 05 05:31 PM
Paste Link - Cell Comments get lost Wayne H Excel Worksheet Functions 2 February 26th 05 11:51 PM
Printing Comments in Excel 2003 Sulinda Excel Worksheet Functions 5 February 25th 05 09:09 PM
How do I export comments into another excel column as cell content Hernan Excel Worksheet Functions 1 February 25th 05 02:17 PM
Can Comments be automatically converted to text cell values? tomdog61 Excel Discussion (Misc queries) 1 January 23rd 05 09:38 PM


All times are GMT +1. The time now is 01:10 AM.

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

About Us

"It's about Microsoft Excel"