+ Reply to Thread
Results 1 to 2 of 2

Macro to copy into Comments pop-up

  1. #1
    Jelly's
    Guest

    Macro to copy into Comments pop-up

    I would like to generate a macro that will copy comments from a cell into
    another cells Comments pop-up screen.

    It will need to find a value in a column, go to the comments column
    (approximately 4 columns away), copy the comments from the cell, go to the
    Results Sheet and insert the comments into the Column pop-up.

    The Results Sheet cell value will change to accomodate different scenarios.
    The comments must change in accordance to this value. There will be several
    cells in the Results Sheet that will have Comments and each of them will need
    to be updated as the cell changes value.

    Any help is appreciated.

  2. #2
    Tom Ogilvy
    Guest

    Re: Macro to copy into Comments pop-up

    Sub ABCD()
    Dim rng as Range, rng1 as Range
    Dim cmt as Comment
    set rng = columns(3).Find("target")
    if not rng is nothing then
    set rng1 = rng.offset(0,4)
    For Each cmt In Worksheets("Results").Comments
    cmt.Shape.TextFrame.Characters.Text = rng1.TExt
    Next
    End if
    End Sub

    --
    Regards,
    Tom Ogilvy


    "Jelly's" <Jelly'[email protected]> wrote in message
    news:[email protected]...
    > I would like to generate a macro that will copy comments from a cell into
    > another cells Comments pop-up screen.
    >
    > It will need to find a value in a column, go to the comments column
    > (approximately 4 columns away), copy the comments from the cell, go to the
    > Results Sheet and insert the comments into the Column pop-up.
    >
    > The Results Sheet cell value will change to accomodate different

    scenarios.
    > The comments must change in accordance to this value. There will be

    several
    > cells in the Results Sheet that will have Comments and each of them will

    need
    > to be updated as the cell changes value.
    >
    > Any help is appreciated.




+ 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