+ Reply to Thread
Results 1 to 3 of 3

a VBA Code that will copy and paste a Row upon selection of an item in a Listbox

  1. #1
    Registered User
    Join Date
    11-27-2016
    Location
    East of England
    MS-Off Ver
    office 365
    Posts
    7

    Question a VBA Code that will copy and paste a Row upon selection of an item in a Listbox

    I am currently improving one of my workbooks. On “sheet2” a “userform1” populates data on the sheet over one row, along columns “A” to “BG” (and the next blank row, post clearing data). I then utilise a second “userform2” with single item Listboxes, (the Listboxes are successfully populated from column “A” on” sheet2”) I want to be able to copy and paste the row corresponding to the Listbox selection from “sheet2” to another data sheet, “sheet3” using a VBA code, But I do not know where to start.

    This pasted data is then used to populate forms on other sheets using formulae. The form filling aspect is all successfully in place on the workbook. The forms populate when I manually enter data into Sheet 3, as I pushed past the problem I was having hoping my knowledge would have improved sufficiently to “combat” the issue, but as I have stated I don’t know where to start. I have tried searching the forum as well as googling the issue, I am just getting more confused and agitated, which is a shame because I have enjoyed my progress this far.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: a VBA Code that will copy and paste a Row upon selection of an item in a Listbox

    Hi taffboyo and welcome to the forum.

    It would probably help if we could see a (desensitized) version of your workbook as it will give a greater feel for the issue in hand.

    BSB

  3. #3
    Registered User
    Join Date
    11-27-2016
    Location
    East of England
    MS-Off Ver
    office 365
    Posts
    7

    Re: a VBA Code that will copy and paste a Row upon selection of an item in a Listbox

    Hi BSB,

    Thank you.

    As requested, PFA a desensitized version of my workbook.
    Attached Files Attached Files

+ 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. Show dynamic data depending on selection of item from listbox.
    By MOHAMMESALMAN in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-02-2015, 02:21 AM
  2. [SOLVED] VBA code to repeatedly copy and paste selection
    By phbryan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-13-2014, 11:20 PM
  3. Use VBA code to copy and paste a specific selection
    By Joe Walsh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-08-2013, 05:11 PM
  4. [SOLVED] listbox item selection to got to specific sheet
    By sumonrezadu in forum Excel General
    Replies: 14
    Last Post: 05-17-2013, 12:38 AM
  5. [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
  6. [SOLVED] Copy one listbox item to same index position in another listbox
    By Foreverlearning in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-19-2012, 06:05 AM
  7. Multi select Listbox Items selection based on other Listbox item selection.
    By srinivassathi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2011, 05:53 AM

Tags for this Thread

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