Print command incremented in a Microsoft 365 PowerPoint slide

Thomas PREHEL 0 Reputation points
2023-11-29T10:01:58.4+00:00

Hi everyone,

Glad to write here for the first time. Sorry for my english skills, I'm just french :-)

I use Microsoft 365 PowerPoint and I would like to implement a print button directly in my slideshow (.ppsx). The result would be to be able to print any slide with one clic, and not having to quit the slideshow.

Is it technically possible ? How can I do that ?

Thank you for your help !

Tom

PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
247 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,687 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiajing Hua-MFST 7,315 Reputation points Microsoft Vendor
    2023-11-30T03:18:36.7433333+00:00

    Hi @Thomas PREHEL

    In my opinion, you need the help of VBA code.

    Such as the following code. Please note the code may not fully meet your request. So, I add the 'Office Development' tag on your thread, hope some experts could provide the support.

    Sub printCurr()
    ActivePresentation.PrintOptions.RangeType = ppPrintCurrent
    ActivePresentation.PrintOut
    End Sub
    
    

    You may press Alt + F11 to open VBA editor > If there is no Module, please insert one > Copy the code to one Module.20

    Then the macro 'printCurr' is created in this presentation. You may press Alt + F8 to have a check.

    18

    To use this macro more conveniently, I suggest you go to File > Options > Quick Access Toolbar > Select the Macros > Add the 'printCurr' macro on Quick Access Toolbar.

    19


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments