Share via

Macros for Pens and Erasers (Mac)

Anonymous
2023-07-01T01:36:35+00:00

Hi there,

I have a small Wacom tablet I use in my classroom. I'm trying to bind the keys and buttons on it to fit what I need. I'm on an M2 Macbook Air, using PPT v16.74. My last hurdles are:

  1. A shortcut button that will start the BLACK pen. Currently, when I push Cmd-P, it's always red. Is there a way to get the black on automatically?
  2. On mac, there is no Cmd-E or any other shortcut for the eraser tool. I would really love a shortcut to get the small or medium eraser.

I think I'll need macros or VBE? That's new to me but I can give it a go if someone can point me in the right direction?

Thanks in advance!

Brock

Microsoft 365 and Office | PowerPoint | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

John Korchok 232.6K Reputation points Volunteer Moderator
2023-07-01T15:42:04+00:00

You can change the default color with the following VBA code:

Sub BlackInkPreset()
    ActivePresentation.SlideShowSettings.PointerColor.RGB = RGB(0, 0, 0)
End Sub

You can place this code into a .pptm file. Open it, then open your presentation and run the macro. Then save the presentation. The macro will set the default color to black and the presentation will remember that settings.

Sorry, I haven't found anything to activate the eraser. Microsoft has only made minimal additions to the VBA object model for the inking tools.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-07-01T18:37:37+00:00

    Thanks! That's helpful. I'll give it a go

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-07-01T14:26:34+00:00

    Hi Sophia,

    I've been down that route. I've followed that guide and multiple other guides online. See this screenshot below:

    So I can make shortcuts all day long, but there is no means to attach that shortcut to the function I'd like.

    I'll post in the other forum as well.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-07-01T04:33:18+00:00

    Dear Brock,

    Good day!!

    I understand your concern and would like to convey that PowerPoint app on the Mac doesn’t have option to create a custom shortcut key for the features in the PowerPoint app. However, you can refer to this article and follow the steps to the create a custom shortcut key for the Office apps: Create a custom keyboard shortcut for Office for Mac - Microsoft Support

    If that doesn’t help, you can achieve your requirement via custom VBA and suggest you to post your concern Office VBA community to get the detailed help from the experts. Reference: Office VBA support and feedback | Microsoft Learn

    Moreover, I will also keep this thread open as there are many MVPs and experts to share their ideas and experience on your requirement.

    Thanks for your patience and understanding. Have a good day!!

    Best Regards,

    Sophia

    Was this answer helpful?

    0 comments No comments