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?
Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.