Consulting

Results 1 to 4 of 4

Thread: Using VBA in a powerpoint quiz

  1. #1
    VBAX Newbie
    Joined
    May 2006
    Location
    Gaza, Palestine
    Posts
    1
    Location

    Using VBA in a powerpoint quiz

    Hi everybody,
    I use powerpoint to quiz my students. I'm really good at almost every practical aspect related to that use, but I' m newly introduced to the world of vba. I follow examples used in samples, but I need help concerning the printable score slide; I'm talking about a large number of multiple choice and short-answer questions. How can I get a printable of say 60 questions. Thanx.

  2. #2
    If i understand correctly is that you want to print out some questions to hard copy. If that is it I found this peice of code from the post called PowerPoint print to PDF. Its not exactly what you want but it looks like a printing function.

    [vba]
    Public Sub HandoutsToPDF()
    With ActivePresentation.PrintOptions
    .RangeType = ppPrintAll
    .NumberOfCopies = 1
    .Collate = msoTrue
    .OutputType = ppPrintOutputThreeSlideHandouts
    .PrintHiddenSlides = msoTrue
    .PrintColorType = ppPrintColor
    .FitToPage = msoFalse
    .FrameSlides = msoTrue
    .HandoutOrder = ppPrintHandoutHorizontalFirst
    .ActivePrinter = "Adobe PDF"
    End With
    ActivePresentation.PrintOut
    End Sub
    [/vba]

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Hi bwells,
    I enclosed your code in vba tags. Just select your code when posting and hit the button that says VBA. Makes code easier to read.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  4. #4
    oh ok..sorry about that didn't know how to do it. I see it now. Thanks

Posting Permissions

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