Why can't I run a macro in PowerPoint?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created a macro to create a gray 0.75 pt border. When I select an image and
try to run the macro, "Run" isn't an active choice, only Cancel, Edit or
Delete. I'm not running the macro at the time. I created and ran the same
macro before in a similar presentation. Any idea why is this happening and
how I can fix it?

Many thanks,

Maggie
 
Are macros enabled? Do you have macro security set to High (it should be
Medium or lower to run macros)? Is the macro actually in the presenation?
Do you see it when you go to the Visual Basic editor?
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
I created a macro to create a gray 0.75 pt border. When I select an image and
try to run the macro, "Run" isn't an active choice, only Cancel, Edit or
Delete. I'm not running the macro at the time. I created and ran the same
macro before in a similar presentation. Any idea why is this happening and
how I can fix it?

If David's suggestions don't do it, press Alt+F11 to open the VB editor.
Locate your macro, click the cursor in it then press F5 to run it.

If that doesn't work, paste the contents of the macro in your reply so we can
take a look.
 
Thanks, David and Steve. I figured out that the problem is with the document
itself. Something must have been corrupted, because when I copied and pasted
the slides into a new document and re-created the macros, everything worked
properly again.

Many thanks for your advice.

Maggie
 
Great. I'm glad you figured it out. I've seen that happen occasionally.
Once I was able to solve the corruption problem with HTML Round Tripping
(http://www.rdpslides.com/pptfaq/FAQ00526.htm) for a presentation that
was too complicated to re-create. If it happens again, you might try that
as well.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
Thanks, David. I figured out that the problem is with the document
itself. Something must have been corrupted, because when I copied and pasted
the slides into a new document and re-created the macros, everything worked
properly again.

Many thanks for your advice.

Maggie
 
Thank you! I'll have to check that out when I come up for air from this
presentation. :)

Maggie
 
Hi, David -

I just tried the "Round Tripping" trick, following Glen Millar's
instructions. It opened fine in PowerPoint as an MHT file. Glen says it's
important NOT to "muck with PowerPoint's html after it is published." Can I
do a "Save As" of the MHT file as a PPT file now and continue to edit it as a
regular PPT file?

Thanks again for your help!

Best,

Margaret
 
Yes, if you open the MHT file in PowerPoint and do a Save As as a regular
PPT file, that should complete the round trip (and possibly clear up any
corruption).
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top