PDA

View Full Version : Slide selects another student



Waubain
04-28-2010, 01:13 PM
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

Logit
02-09-2022, 07:47 PM
Possibly the database is located in a different directory than that specified in the code ?