+ Reply to Thread
Results 1 to 2 of 2

VBA - randomise 15 question from the pool of 80-90 questions for user to selected

  1. #1
    Registered User
    Join Date
    03-30-2008
    Posts
    32

    VBA - randomise 15 question from the pool of 80-90 questions for user to selected

    Hi All,

    I have a requirement -
    I am creating a flow of a complex program so that others don't face problem while comprehending the program. Till this part its easy, but then i want to add some more feature.
    I want to have a test feature ie if a user click take test tab then my macro should send randomly selected 15 question from the pool of 80-90 questions and the user has to fill the answers.
    Another thing which i want to add is to lock the macro from viewing or updation by any other user.

    Regards,
    Tushar

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    This is an example of generating random questions that are stored in a1 to a90
    It loops 15 times

    There is no checking to ensure each question has not been asked previously

    The macro will exit if you Click the Cancel button

    Please Login or Register  to view this content.
    For protection look at VBA editor > Tools > VBAproject > Protection Tab
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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