+ Reply to Thread
Results 1 to 3 of 3

Dynamically copy comments from one worksheet to a cell in a summary worksheet.

  1. #1
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Dynamically copy comments from one worksheet to a cell in a summary worksheet.

    I'd like to post an example worksheet but trying to "anonomise" the sheet breaks the functionality to the point that is becomes very difficult to see what's i'm trying to achieve.

    we have a complicated schedule that I'm trying to simply for the end user. I have created a summary sheet with two drop downs that power the formula below:

    =IFERROR(INDEX(Rota!$14:$14,1,SMALL(IF(Rota!$C16:$C16)=$E$2,COLUMN(Rota!"$C216:$C16))),2)),"") - (this example returns a target cell of $G$63, within worksheet Rota)

    So that in essence I can create a "diary" for each employee of their work duties from the "rota" what I'm trying to do is now determine if the target cell above has a comment and then copy that comment to the cell.

    so in VBA terms I need to be able to replicate the formula above but make it draggable across several cells, and then copy the comment from the worksheet "Rota" cell (above) to each cell in the range.

    I hope this makes sense?

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Dynamically copy comments from one worksheet to a cell in a summary worksheet.

    The kutools excel add-in will allow you to create a worksheet or workbook listing all comments, the author of the comment, and the worksheet and cell references to locate the comments.

  3. #3
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: Dynamically copy comments from one worksheet to a cell in a summary worksheet.

    Thank you - I managed to solve this myself - was driving home and the answer hit me like a sledgehammer I split the formula to give me the destination cell in a help column and then passed this as a string in vba to find the target cell.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA to copy and paste dynamically from one worksheet to another
    By nomad56 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2015, 01:36 PM
  2. Replies: 0
    Last Post: 10-08-2013, 02:58 PM
  3. VBA to create new Workbook and copy worksheet into it dynamically
    By rob read in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2013, 11:55 AM
  4. Replies: 9
    Last Post: 07-09-2013, 12:09 AM
  5. Replies: 1
    Last Post: 11-05-2011, 10:45 AM
  6. [Solved] Copy Cell Comments From One Worksheet Into New Worksheet As Comments
    By Bangarang in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2010, 01:42 PM
  7. Copy Cell Comments Automatically To Another WorkSheet
    By centaur63 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2006, 07:38 PM

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