+ Reply to Thread
Results 1 to 1 of 1

Listbox MultiSelect to find/copy/paste rows to new worksheet in VBA

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    1

    Listbox MultiSelect to find/copy/paste rows to new worksheet in VBA

    Hi,

    I've just joined the forum, looking for help on a spreadsheet that i'm working on.

    I'm somewhat of a VBA novice but have slowly worked my way through a number of macros to get my spreadsheet working as i'd like. However i'm stuck on this step:

    I'm trying to use a Listbox Multiselect as the criteria to find, copy and paste the relevant rows to a new worksheet.

    The Listbox is defined using a static range of one column 'Sectors', and is located on worksheet 'Reports'.
    The data i am trying to search for is located on worksheet 'All Data', which contains numerous columns including 'Sectors'.

    E.g. i'd like to tick 'Chemicals' and 'Health Care' in my Listbox and use a macro to loop through and find all the rows of data that have 'Chemicals' or 'Health Care' as the 'Sectors', and then copy, paste these rows into a new worksheet.

    Any help much appreciated.
    Last edited by rsm555; 02-18-2014 at 10:23 AM.

+ 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. [SOLVED] MultiSelect Listbox in Userform to copy data to worksheet
    By aarodn in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-06-2013, 03:52 PM
  2. Copy Selected items from multicolumn, multiselect listbox to another listbox
    By Willigb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2013, 11:27 AM
  3. [SOLVED] Cmd to Listbox (Find info in sheet2) copy/paste info to A7 Excel 2007
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-14-2013, 09:49 AM
  4. [SOLVED] Copy And Paste Row Into New Worksheet Based On User Listbox Selection
    By Wings249 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-04-2012, 06:58 AM
  5. Multiselect ListBox can't find the name
    By ChrisNor in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-09-2009, 09:50 AM

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