+ Reply to Thread
Results 1 to 5 of 5

Replacing cell value with comments...

  1. #1
    Forum Contributor
    Join Date
    09-04-2007
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    133

    Replacing cell value with comments...

    Hi all,

    I have a range of data created by other user, i have to go through each cell value and add comment which i did manually in the review process. Is there a way to automatically replace the existing cell value with the comments made by me.

    Any help will be highly appreciated.

    Regards,

    Sathish.
    Last edited by skonduru; 01-18-2011 at 06:30 PM. Reason: Solved my problem.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Replacing cell value with comments...

    Hello skonduru,

    Provided your data is in a single column and the comments are also in that same column then this macro should do want you require. You can change the worksheet name and starting cell to what you need. They are in bold in the text below.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    09-04-2007
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    133

    Re: Replacing cell value with comments...

    Thanks for the quick reply Ross,

    Can I set the range as Range("A2:M40") and skip directly to for loop.

    Regards,

    Sathish.

  4. #4
    Forum Contributor
    Join Date
    09-04-2007
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    133

    Re: Replacing cell value with comments...

    Awesome, thats working great, but I am getting the author name into the cell too. How can I get rid of the author name within the replaced cells.

    Regards,

    Sathish.

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Replacing cell value with comments...

    Hello skonduru,

    Here is the amended macro. This will remove the author.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1