Consulting

Results 1 to 2 of 2

Thread: Slide selects another student

  1. #1
    VBAX Regular
    Joined
    Apr 2010
    Posts
    21
    Location

    Slide selects another student

    Within a PowerPoint lecture, I would like to be able to choose a student randomly from a class list of 100 students to answer a specific question.

    In the past a non-programer friend wrote some VBA code within a PowerPoint slide and an Access database for the names. It called the database which randomly picked and posted a name within a dialogue box and then closed when OK clicked. I tried to get this to work after not using it for several years and a upgrade in MS from 2003 to 2007. The database fails to open from the slide, but the database still works as a stand alone. The path within the code was correct.

    I attached the database and the PP slide for review.
    1) Can you tell why this is not opening the database?
    2) Is there a better way to accomplish my original goal?

    Thank you in advance.

    Bob

  2. #2
    VBAX Expert Logit's Avatar
    Joined
    Sep 2016
    Posts
    613
    Location
    Possibly the database is located in a different directory than that specified in the code ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •