Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Macro to Add Comments to Cells

Hi

Not sure if this is possible but....

I have a Worksheet where Columns C, E, G, I and K contain an Index and Match
formula (referenced to another sheet where the raw data is stored) which
returns either text where the Index and Match is True or "" where it is False

Columns B, D, F, H and J contains a Row and Index formula (referenced to the
sheet where the raw data is stored) which returns the Row number on the data
sheet where the result in the corresponding cell in the next Column was
derived or #N/A if the result was False.

So, say the result in C4 was "Cream" and related to cell M681 on the data
sheet the result in B4 would be 681

I hope this is clear so far.

I now want to create a macro which will run down each cell in Columns C, E,
G, I and K and if the contents = "" then do nothing otherwise add a comment
the contents of which will be whatever is in the cell in Column R on my data
sheet and the row number as set in the cell to the left.

Using the example above, a comment would be added to cell C4 which would say
"Ginger Baker, Jack Bruce, Eric Clapton" which is what is in cell R681 on my
data sheet.

I would really appreciate some help with this if possible.

Many thanks

Kewa
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Macro to Add Comments to Cells

hi
see this site..
http://www.contextures.com/xlcomments03.html
regards
FSt1

"nospaminlich" wrote:

Hi

Not sure if this is possible but....

I have a Worksheet where Columns C, E, G, I and K contain an Index and Match
formula (referenced to another sheet where the raw data is stored) which
returns either text where the Index and Match is True or "" where it is False

Columns B, D, F, H and J contains a Row and Index formula (referenced to the
sheet where the raw data is stored) which returns the Row number on the data
sheet where the result in the corresponding cell in the next Column was
derived or #N/A if the result was False.

So, say the result in C4 was "Cream" and related to cell M681 on the data
sheet the result in B4 would be 681

I hope this is clear so far.

I now want to create a macro which will run down each cell in Columns C, E,
G, I and K and if the contents = "" then do nothing otherwise add a comment
the contents of which will be whatever is in the cell in Column R on my data
sheet and the row number as set in the cell to the left.

Using the example above, a comment would be added to cell C4 which would say
"Ginger Baker, Jack Bruce, Eric Clapton" which is what is in cell R681 on my
data sheet.

I would really appreciate some help with this if possible.

Many thanks

Kewa

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 can we copy cells comments text and paste to cells שי פלד Excel Discussion (Misc queries) 3 December 12th 05 05:16 AM
Comments in cells Double Excel Worksheet Functions 3 November 14th 05 09:56 PM
merging cells and comments Roland Excel Programming 1 February 3rd 05 10:55 PM
Help with Macro for Zooming when cells have Comments? scutchen Excel Programming 1 October 6th 03 04:54 PM
VB Code to Add Comments to Cells from Several Other Cells Mark[_22_] Excel Programming 1 September 10th 03 06:02 PM


All times are GMT +1. The time now is 08:39 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"