+ Reply to Thread
Results 1 to 4 of 4

find, copy, paste

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,955

    find, copy, paste

    Okay, I'm losing it. I swear I know how to do this, but I'm just hitting blank walls.

    On "Sheet1" Column A has 15 values, which populate a listbox. Column B has different values, which are related to Column A. The user makes a selection in the listbox, and the Column A value gets pasted into "Sheet1" in Cell C2. I want D2 to be the corresponding B value. I thought it would be a simple matter to select C2, look up the value in A, and copy the offset value to D2, but I'm not getting anywhere. Can anyone help?

    Thanks in advance.
    Last edited by jomili; 07-28-2010 at 04:40 PM. Reason: Solved

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: find, copy, paste

    Hello jomili,

    Try this...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,955

    Re: find, copy, paste

    Leath,

    Thanks for trying, but I don't think it even engaged; no values got pasted. There is no "Click" in the Listbox. The user selects in the listbox, then hits the "Go" button (a command button) which initiates everything.

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,955

    Re: find, copy, paste

    D-uh, I'm so dumb. I have code that copies from the listbox to the spreadsheet. I just went back and changed that code to copy the listbox selection and the value next to it. Easy! Sorry to send you on a wild goose chase.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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