Share via

Run-time error '31032'

Anonymous
2014-04-01T20:55:44+00:00

Hi,

I am getting Run-time error '31032' on Mac powerpoint 2011 when I execute the below code

UserForm.Show vbModeless

Above code is working properly on windows- Powerpoint 2010,

Through my searching on internet I came to know that '30132' error means 'Unable to create embedded object'.

What is the possible solution for powepoint 2011 ?

Thanks !!

Microsoft 365 and Office | PowerPoint | For home | Windows

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

2 answers

Sort by: Most helpful
  1. Jim G 134K Reputation points MVP Volunteer Moderator
    2014-04-06T04:03:28+00:00

    That code should be working.  I made a userform and it displays fine with this code:

    Sub test()

    UserForm1.Show vbModeless

    End Sub

    Assuming VBA is up to date (version 14.3.9) in the About PowerPoint while in the Visual Basic Editor, all I can suggest is look around for a syntax error nearby. The error message talks about a failure to create an embedded object. Do you have code that attempts to make an embedded object in this project?

    You can sometimes fix a corrupt module or userform by using File > Export to save the module as a .bas file. Then delete the module or userform from the project. Use File > Import to bring the module or userform back into the project.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-04-02T13:49:14+00:00

    Is there more to this code. Could you post the complete code

    Was this answer helpful?

    0 comments No comments