Results 1 to 16 of 16

How to read left side cell value to the comment cell

Threaded View

  1. #1
    Registered User
    Join Date
    05-09-2010
    Location
    Chicago, US
    MS-Off Ver
    Excel 2003
    Posts
    11

    How to read left side cell value to the comment cell

    I can read all comments in excel file using below code. How do I read left side cell value to the comment cell?

    For Each mySht In Worksheets
        For Each mycomment In Worksheets(mySht.Name).Comments
                    mycomment.Text                                
        Next mycomment
    Next mySht

    sample data:
    A B C Col B comments
    ---------------
    a1 b1 c1 b1 comment
    a2 b2 c2 b2 comment

    expected output:
    ------------------------
    left side cell val Col B comments
    ----------------------------------------------------------
    a1 b1 comment
    a2 b2 comment


    Please find attached test.xls for sample. Thanks.
    Attached Files Attached Files

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