Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

Excel 2007 – Search for highlighted text and copy to another worksheet Macro.

Latest post Thu, May 20 2010 2:02 AM by DHopgoodSms. 2 replies.
  • Fri, May 7 2010 2:15 AM

    Excel 2007 – Search for highlighted text and copy to another worksheet Macro.

    I have a workbook with several worksheets titled after users names. On the same worksheet I have an Overview worksheet which has their names and priority items under their names. There are a few names in one column, and then a few names starting again in another column e.g. B to E and then F to I

    Users will open their individual worksheet, and enter data into them under headings such as Meetings, Tasks, Training etc. The data they will enter will be time, date, text, more text and will go across 1 row and 4 columns.

    Periodically, user will highlight items that are Priorities (a single row) under these headings, yellow for Meetings, Blue for tasks and green for Training. I want a macro that will search for the highlighted items (Priorities), and copy them to the Overall worksheet, under the users name headings.

    On the Overall sheet, the number of rows under their names will change, depending on the number of priorities they have highlighted, and I want the flexibility of either leaving the previous items in the overall tabs, or pasting over the top of these.

    The issues I am having are searching for the Priorities (highlighted text) across a number of worksheets, copying the row and pasting into the Overall worksheet under the corresponding name headings, with a changing number of priorities, and the Overall worksheet has different names in different columns

    Any assistance would be greatly appreciated.

    • Post Points: 21
  • Fri, May 7 2010 7:11 AM In reply to

    Re: Excel 2007 – Search for highlighted text and copy to another worksheet Macro.

    Can you post your workbook so we can visualise it?

    Regards

    Bob

    • Post Points: 21
  • Thu, May 20 2010 2:02 AM In reply to

    Re: Excel 2007 – Search for highlighted text and copy to another worksheet Macro.

    Bob,

    I have attached a copy of the Worksheet.

    I appreciate any guidance you could provide.

    Thanks

    • Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright Excel User Group and the relevant contributors, 2010. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.