+ Reply to Thread
Results 1 to 4 of 4

Copy selected listbox items to another listbox

  1. #1
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Copy selected listbox items to another listbox

    Hi all, have been absent for a month or so due to this covid and have found myself very rusty

    I need to select searched codes (sometimes multi-select) to create a second listbox which will eventually be used to populate another worksheet.

    I have sorted the search and select but I am at a total loss to move these items to the second listbox. I have tried various methods but it is the columns that are failing me and I have no access to my work computer.

    There are only 2 columns but I don't think the string method is the way to go. Any pointers appreciated
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by nigelog; 05-25-2020 at 10:16 AM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,079

    Re: Copy selected listbox items to another listbox

    How about
    Please Login or Register  to view this content.

  3. #3
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Copy selected listbox items to another listbox

    Thank you so much Fluff, had just sorted it with a Heath Robinson approach but your code is more flexible
    Please Login or Register  to view this content.
    Much appreciated.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,079

    Re: Copy selected listbox items to another listbox

    You're welcome & thanks for the feedback.

+ 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] Copy selected items from listbox in form to a worksheet
    By ymmotteov in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2018, 05:20 AM
  2. [SOLVED] copy selected listbox items and paste to a specific sheet
    By Rabb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-15-2016, 08:17 AM
  3. [SOLVED] Add Selected Items From One ListBox to Another ListBox on UserForm
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2014, 06:53 PM
  4. 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
  5. [SOLVED] Trying to copy selected items from sheet to listbox then selected back to sheet
    By BigWes1960 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-14-2013, 03:27 PM
  6. Transfer random listbox items to new listbox and then loop through selected items
    By narrowgate88 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2013, 05:58 PM
  7. [SOLVED] How to use selected items from Listbox
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2006, 11:10 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