Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 8 of 8

Thread: Powerpoint pps with macro error

  1. #1

    Powerpoint pps with macro error

    Hi - I have a medialab experiment file that calls a PowerPoint PPS file with an embedded macro (monitoring participants progress through a training tutorial and allowing or restricting them access to content according to path taken). When I run it with MediaLab there are no problems (the macro works perfectly); however, after the last slide a pop-up window asks me whether or not I want to save changes made to file, even though no changes were made.

    How can I prevent that window from poping-up? Is this an issue with Medialab or PowerPoint?

    Thanks!

  2. #2

    Problem with VB coding: Here's the solution

    I figured it out. The problem is with VB code and not MediaLab. Basically, at the end of the presentation the message "would you like to save changes" appeared because - I assume - all my defined variables in VB were not set to their initial state. Basically, I have just added a sub that 'initializes' all my variables to their initial state, and then I add a line to close the application in the same sub (e.g., ActivePresentation.Quit).

  3. #3
    Join Date
    Aug 2008
    Posts
    14

    monitor user's progress in powerpoint

    Hi sscielzo (and anyone else out there),
    I was wondering if you could help me out.

    I would also like to create a powerpoint that can monitor a user's progress through the slideshow. Mine would have objects with custom action settings, so there would be interactive content, and users might click on different objects and see different parts of the show.

    I want to know what parts of the slideshow were clicked on, what pages were viewed as a result, how long they viewed each slide for, etc. Anything that would indicate how much they interacted with it. Is that similar to what your VB macro did?

    If you could give me some pointers or links on how I would do that or even send an example, it would be very much appreciated.

    Thanks!

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Sounds super cool but sadly I can't offer much in this regard. Sscielzo--is this something you can help out with here? Maybe posting a sample of what you were able to work out here?

  5. #5
    Join Date
    Oct 2010
    Posts
    4

    Save changes window

    I have the exact problem sscielzo had and then mysteriously figured out. My ambitions however are much smaller as I simply want to insert a few text box objects and check box objects into the powerpoint file (no macros, no recorded data, etc.). I've googled around for a clarification on how to 'initialize' these objects in VBA, but I haven't found anything yet. Just hoping someone else who has come across this can share a solution. Thanks!

  6. #6
    Join Date
    Oct 2010
    Posts
    4
    I posted this question to the forums at vbaexpress.com and someone was kind enough to help me with the following advice.

    "First of all be aware that you may have problems with macro security if you use vba. On many institution PCs vba is disabled

    You need to run the 'I am already saved' code at the end of your show.

    Press f11 to get to the vb editor
    In this INSERT > Module
    copy and paste in this code


    VBA:
    Sub Iamsaved()
    ActivePresentation.Saved = msoTrue
    SlideShowWindows(1).View.Quit
    End Sub
    VBA tags courtesy of www.thecodenet.com

    If you have a next slide or end show button on the last slide select it and change the action to RUN Macro"

    I had to play around with it quite a bit it worked in the end. Hopefully this will help out someone in the future with the same problem!

  7. #7
    Join Date
    Nov 2005
    Posts
    3,328
    Thanks for the info fdanbold! (sorry for the post delay, external links send posts to a moderation queue to ensure they're not spam).

  8. #8
    Join Date
    Nov 2011
    Posts
    1
    Quote Originally Posted by sscielzo View Post
    Hi - I have a medialab experiment file that calls a PowerPoint PPS file with an embedded macro (monitoring participants progress through a training tutorial and allowing or restricting them access to content according to path taken). When I run it with MediaLab there are no problems (the macro works perfectly); however, after the last slide a pop-up window asks me whether or not I want to save changes made to file, even though no changes were made.

    How can I prevent that window from poping-up? Is this an issue with Medialab or PowerPoint?

    Thanks!
    You may recover ppt files owing to repair powerpoint. It works with contemporary, intuitive interface. The tool is able to work under any Windows 98 and higher. The tool can't modify original powerpoint data during recovery.

Similar Threads

  1. Timestamps for PPS
    By EDONNY in forum MediaLab Older Versions: General Questions
    Replies: 4
    Last Post: 11-19-2007, 05:11 PM
  2. Very Slow Powerpoint
    By ryalch in forum MediaLab Older Versions: Troubleshooting
    Replies: 3
    Last Post: 10-26-2007, 11:21 AM
  3. taskbar intrusion when using pps
    By jafi in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 09-11-2007, 06:09 AM
  4. Embedding a powerpoint show within a question?
    By Vitchard in forum MediaLab Older Versions: How Do I...
    Replies: 2
    Last Post: 04-18-2007, 02:25 PM
  5. trouble when using powerpoint slideshow
    By katherineinus in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 11-03-2006, 12:45 PM

Posting Permissions

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