Closed Thread
Results 1 to 6 of 6

How to source id's from one worksheet to another?

  1. #1
    Registered User
    Join Date
    02-16-2018
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    11

    How to source id's from one worksheet to another?

    Hi All,

    I am facing a challenge in excel, I have 2 separate worksheets. In one worksheet I have authors and there unique ID's. In the other worksheet I have papers and the related authors of those papers.
    I am trying to add the ID's in the worksheet with the papers and there related authors, the challenge is that a paper can have multiple authors and I am stuck on how to do this.
    Can anyone please help me out here?

    I have attached a example of the 2 worksheets and the solution I am looking for.

    Thanks in advance.

    Kind regards,
    Nordin
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to source id's from one worksheet to another?

    Hi Nordin,

    Here's a macro:

    Please Login or Register  to view this content.
    If you haven't used macros before you'll need to go to:
    File- options - trust center -trust center settings - macro settings ,
    the second option down (disable all macros with notification)

    Then - Copy the code to the clipboard

    Open your Workbook

    Press ALT + F11 to open the Visual Basic Editor.

    Select "Module" from the Insert menu

    Type "Option Explicit" then paste the code under it

    With the cursor between Sub and End Sub press F5 (F8 to Single Step)

    OR

    Press ALT + Q to close the code window.

    Press ALT + F8 then double click on the macro name
    *Be sure to save the book with the code as Macro-Enabled
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to source id's from one worksheet to another?

    Duplicate

    https://www.excelforum.com/excel-for...y-a-comma.html

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How to source id's from one worksheet to another?

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Registered User
    Join Date
    02-16-2018
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    11

    Re: How to source id's from one worksheet to another?

    Thanks xladept,

    I have never worked with Macro's before therefore this all looks like Chinees to me, I have tried to follow your steps but it seems that I am doing something wrong. Can you maybe put the marco in my excel sheet this way I can trace back the steps that you have taken?

    Kind regards,
    Nordin

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: How to source id's from one worksheet to another?

    Quote Originally Posted by xladept View Post
    Hi Nordin,

    Here's a macro:
    I have quoted this post in the other thread. The forum tools kept giving me an error when I tried to merge the two threads.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 09-28-2016, 02:09 PM
  2. [SOLVED] Output in same worksheet as source removing source data
    By macrolearnerkk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2015, 03:50 PM
  3. [SOLVED] Output in same worksheet as source removing source data
    By macrolearnerkk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-27-2015, 03:49 PM
  4. [SOLVED] Copied check boxes contain worksheet reference to source worksheet
    By JimDandy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2015, 03:53 PM
  5. [SOLVED] Copy formulas from the Source worksheet to the Target worksheet using a macro
    By Excel987 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-10-2015, 04:03 PM
  6. Replies: 0
    Last Post: 02-11-2014, 02:14 PM
  7. Dynamic combo row source - works only if active source worksheet
    By fredpox in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-21-2010, 07:16 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