+ Reply to Thread
Results 1 to 12 of 12

Selective data transfer

  1. #1
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Selective data transfer

    Hi,

    I am looking for some help to transfer data some data from one sheet to another. These sheets are currently printed and then manually filled out.

    The data is on Sheet1. The info on Sheet1 will continually increase. I am therefore trying to find a solution where I can select any given row to populate the details on Sheet2 and 3. (I am unsure if this is possible but am trying to find out)

    Rather than completing each individual (horizontal/row) line manually to a printed version of Sheet2 and 3 I am trying to find a way to get them to populate automatically.

    The solution must work in Excel 2003.

    Log example.xls

    I need a need a function that allows me to select any row on Sheet1 to then populate certain cells on Sheet2 and 3 (on Sheet2 and 3 I have highlighted the the cells in yellow that are to be populated and have also included some notes which may be useful).

    Perhaps a function can be added into a cell at the end of each row of data on Sheet1 with the idea in mind that when a row is selected it will populate Sheet2 and 3.


    Any ideas or solutions are appreciated

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Selective data transfer

    there's something wrong with your attachment. I can't access it. Please try again.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Selective data transfer

    Hi,

    Hopefully this attachment can be opened.

    Thanks
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Selective data transfer

    see if the attached gets you started in the right direction? i used data validation on sheet2 and 3, so that you use the drop-down, select a name and it populates the other fields. i didnt not complete sheet3, there are some fields there that would be better understood by yourself
    Attached Files Attached Files
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Selective data transfer

    I didn't understand what you wanted in some of the form fields but this is a start:
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Selective data transfer

    Hi thanks for your replies.

    FDibbins; I like the idea of the drop down filter that then populates the other cells. I do not understand the formulas as I am not very experienced. It maybe a little difficult to find the right customer as the data grows though. If you can develop this idea at all I would really like to see it.

    protonLeah; I am struggling to open your attachment properly. It will only open in "read only". I have no managed to make it print anything yet but can also see how this could work well. If you can still help or provide solutions that would be great.

    Thanks

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Selective data transfer

    The workbook is not protected and should not open in read only. Do you have macros enabled?
    Please Login or Register  to view this content.
    -----------------
    Copy the above code, then:

    Click the developer Menu
    Click Visual Basic
    Click Insert
    Select Module
    Paste in the macros provided.

    Please note the new sheet names: DATA, REFERALLS & PROFSLIP, those names are used in the macros.

  8. #8
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Selective data transfer

    Thanks protonLeah.

    This function seems to work well. Not sure what the problem was earlier but yours opens up fine on my laptop.

    The logs and data I uploaded is not the exact information I will be using so I will need to adapt your code you have kindly written. However my experience with Excel is limited. Maybe you could provide a little explanation of how it works. I will need to know where and what I will need to change so I can amend it so it populates all the cells with the correct data.

    If you have time for this that would be really helpful.
    Last edited by BBoyAl; 08-06-2012 at 05:22 PM.

  9. #9
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Selective data transfer

    i have edited the previous post with some explanatory comments

  10. #10
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Selective data transfer

    I'm sorry, I can not see where you have edited.

  11. #11
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Selective data transfer

    Sorry, here's the code with comments.
    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    03-20-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Selective data transfer

    Thank you very much. I can't see too well what you have done for me at the moment as I am on my smartphone .

    I shall however check it out as soon as I can.

    Thanks once again for the time you have invested helping me.

    Kind regards,

+ 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