+ Reply to Thread
Results 1 to 8 of 8

A Real challenge....

  1. #1
    Registered User
    Join Date
    02-18-2007
    Posts
    69

    A Real challenge....

    do any of you Excel gods know how to set up a macro that would allow me to input specific users (students in this case) access to use a lab spreadsheet. Where would I input their specific student numbers to give them access?

    I would like a prompt, for when a student goes to open a particular lab (one that they would be prompted to specify (eg lab #3), they would have to enter their student id. I believe this can only be done using a macro, however I am a newbie so please do forgive if there is any other way.

    Also, after being granted permission, I would like them to only be able to enter data in specific cells once, and to enter values in sequence. If the data they enter is not within a specific range, I would like to have a prompt show up which would read something like "Value is Outside the Range, Please logout" and have the spreadsheet 'lock' so that they would not be able to input another answer. If the value they enter is within the range, they would input the next value until they either complete the inputs, or input an incorrect answer.

    They would then logout and log back in to another lab, and their work would be saved in a specific folder of which only I could access (how would I set that up as well?)

    Eg. Student opens up excel file
    -they are prompted to enter their student number
    -they are prompted to enter which lab # they wish to work on
    -they are brought in to the spreadsheet which matches the lab they've requested.
    -they would only be allowed to enter data in each lab once (so refusal of trying to login to a lab they have already worked on)

    Is this at all possible, or am I way over my head.

    Any help/suggestions would be greatly appreciated.

    I have attached a sample spreadsheet in case anyone is brave enough, and clever enough to figure this out.

    Thanks in advance,

    MBS
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    MBS

    Re Is this at all possible - The way I read what you are after Yes it is possible

    or am I way over my head. - probally

    Now down to the nitty gritty

    Student IDs could be kept in a sheet that is xlVeryHidden (Can only be made visible via VBA code or even kept in seperate workbook.

    Another option is instead of having the student enter the details directly into a sheet, have them enter the data into a form which would allow better control as to what is entered in to what cell and in what order. You would use one form for each required answer or use 1 form and modify it after each answer. You could even close the workbook automatically when an answer is out side the required range.

    The student ID list would also need to track which labs they have already attempted. This could be done by several columns
    column 1 = ID
    column 2 = Lab 1 Attempt
    column 3 = Date & Time of attempt (if tracking required)
    repeat in more columns for other Labs.

    Other things to consider.

    Do you need any type of security to stop a student using another students ID?
    Last edited by mudraker; 02-22-2007 at 01:41 AM.

  3. #3
    Registered User
    Join Date
    02-18-2007
    Posts
    69

    thanks mudraker...

    it's good for me to know this is possible.

    I just don't have the VBa skills to do this stuff (yet), though I am trying to work on it.

    I wouldn't necessarily need extra security features to eliminate cheating, although I wouldn't frown upon it. That right now is secondary.

    I'm amazed by the potential of programming.

    Any other help would be appreciated.

    MBS

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    I will need more details before I can give you any assistance in developing what you require.

    How does the use of a form sound to you?

  5. #5
    Registered User
    Join Date
    02-18-2007
    Posts
    69

    using a form....

    thanks again for your reply mudraker.

    I've tried to find out more about forms and honestly would select any solution, as long as it worked the way I had originally intended (or even close at least).

    So I guess a form could work. Not to sound like a newbie again or anything, but how would I use a form to my advantage?

    I really appreciate you taking the time and giving your feedback.

    MBS

  6. #6
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Here is a very simple workbook with using forms

    Depending on how complex the answer needs to be or the question then Inputbox might even work
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-18-2007
    Posts
    69

    thanks yet again mudraker

    again, I don't recognize nor understand "input box" nor how it works.

    what you have suggested would work perfectly as it appears. I am going to try to figure this stuff out, if it kills me.

    Your assistance is greatly appreciated.

    MBS

  8. #8
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    A quick example of usin an inputbox - No forms to design or build

    Please Login or Register  to view this content.

+ 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