using visual basic in powerpoint

  • Thread starter Thread starter san5010now
  • Start date Start date
S

san5010now

Every time I make a powerpoint presentation with any
visual basic object and code it runs fine till I close the
program and the next time I start it it does not work, the
code is entered properly, when I double click on the
textbox or command button the correct code appears but I
does not execute it.HELP!!!!!!!!!!

P.S.:It also says macros disabled, do I need to enable
them if so how do I do it?
 
Yes, you need to enable macros. The details depend on the version of
PowerPoint you are using. First you want to set your macro security to
medium or low. Go to the Tools Menu, choose Macros, and choose Security.
If you set security to medium, you will have to choose to Enable macros
every time you open a presentation that uses visual basic objects (it
will ask you when you open it).
--David

--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
Every time I make a powerpoint presentation with any
visual basic object and code it runs fine till I close the
program and the next time I start it it does not work, the
code is entered properly, when I double click on the
textbox or command button the correct code appears but I
does not execute it.HELP!!!!!!!!!!

P.S.:It also says macros disabled, do I need to enable
them if so how do I do it?

That's probably the problem. Choose Tools, Macros and set your macro security
to low or medium.

With it set to high, you can add macros to the currently open presentation but
when you re-open it, PPT would disable the macros. With it set to medium, PPT
will ask whether to enable macros or not.

--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Featured Presenter, PowerPoint Live 2004
October 10-13, San Diego, CA www.PowerPointLive.com
================================================
 
Back
Top