+ Reply to Thread
Results 1 to 3 of 3

Macro to move data into a seperate worksheet in order

  1. #1
    Registered User
    Join Date
    09-08-2007
    Posts
    1

    Exclamation Macro to move data into a seperate worksheet in order

    Hey everyone.

    This is pretty much a last resort. For my A level coursework I need to create an automatic grading system. Now I've got the whole thing pretty much built but I'm stumped on one thing.

    There are 12 units that need to be graded. Each student has their own student ID. There is a worksheet for portfolio units to be input and a worksheet for exam units.. I have a vlookup in both of those worksheets to allow the user to enter the student ID and unit number and it gets the information from a "lookuptable" worksheet.

    There is a button at the bottom of both of those sheets saying "store and save"... I need something, anything that will transfer the data from some of those fields into a mastersheet - in order. But I also need it to check if there is already a record of that student ID in the worksheet and overwrite the information there instead of just creating a new line.

    I've asked pretty much every person in my college. None of my tutors know how - It must be possible.. I just don't know where to start.. or even what the macro would be called!

    Thanks for reading all of that, and I appreciate any and all help I can get!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    To check if the record exists you can use
    Please Login or Register  to view this content.
    I have posted examples in the last couple of days, so the Advanced Search should find them.

    You could use .Find to find the ID on the page.

    To transfer the data there are examples here & a workbook example (Contacts.zip) here

    http://www.excel-it.com/vba_examples.htm

    I would think copy the data across then simply sort it
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    VikkyAnn, whilst we are all glad to help with specific problems we cannot help you directly with homework/coursework.....these should be your own efforts, if you have a stumbling block then his will be picked up by your tutors and the appropriate help given!

    I find it very hard to believe that the very tutors asking you to use excel to do your modelling have no idea how to achieve what you want!

    Please feel free to ask specific questions to specific problems rather than a blanket question.......also if you have done some work of your own please supply the code so that you may get a full and varied answer to your question.
    Not all forums are the same - seek and you shall find

+ 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