PowerPoint 2003 gives the opportunity of executing VBA macros when in View mode; macros can be associated to "mouseclick" or "mouseover" events, but things don't go as they should, IMHO!
The enclosed file contains 6 macros (Macro1 to Macro6). All of them do what they are supposed to do, if executed from the immediate window of VBA (including the run-time error message issued by Macro5).
If you go into vVew mode, then only clicking on rectangle #1 you obtain a right behaviour (msgbox) while:
Clicking on rectangle 2, no messagebox is displayed
Clicking on rectangle 3, nothing is printed to the immediate window
Clicking on rectangle 3, macro execution desn't stop
Clicking on rectangle 5, no runtime error is displayed
Clicking on rectangle 6, no change in Forecolor happens
All of these behaviours mean that:
1) debugging macros in View mode is almost impossible: no STOP, no DEBUG.PRINT, no error message
2) some commands don't work at all in view mode: by ex., selecting a shape and changing one of its properties doesn't work.
DO you have any suggestion? Where to find info about what can and what cannot be done in macros executed while in View mode?
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
-Mike Kapnisakis, Warner Bros
With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros. You'll also be able to connect with highly specified Experts to get personalized solutions to your troubleshooting & research questions. It’s like crowd-sourced consulting.
We can't always guarantee that the perfect solution to your specific problem will be waiting for you. If you ask your own question - our Certified Experts will team up with you to help you get the answers you need.
Our certified Experts are CTOs, CISOs, and Technical Architects who answer questions, write articles, and produce videos on Experts Exchange. 99% of them have full time tech jobs - they volunteer their time to help other people in the technology industry learn and succeed.
We can't guarantee quick solutions - Experts Exchange isn't a help desk. We're a community of IT professionals committed to sharing knowledge. Our experts volunteer their time to help other people in the technology industry learn and succeed.