VBA does not run Powerpoint
Posted
by
user1557188
on Stack Overflow
See other posts from Stack Overflow
or by user1557188
Published on 2012-11-01T16:12:26Z
Indexed on
2012/11/01
17:01 UTC
Read the original article
Hit count: 210
vba
|powerpoint
This is very frustrating, first lines of programming Powerpoint VBA after a long while ....
Please help this is killing me Writing a small sub connecting to an action using name test
Sub test()
MSGBOX "this is a test "
end sub
I placed this in a module I just created and it works
I copy the same test in named as a module and it does not work any more ....
I'm trying to make PPT connect to events to do things on a per slide basis ..... using google.... this worked a few times ... but now nothing works any more. The simple test above fails since I renamed the module.
As I further change the second routine to test1() ipv test
None of the macros can be executed any more (module1 NOT CHNANGED) Module NAME..... contains the same code, except test1() ipv test. ... now all macro processing stops
the color of text changes (as is clicked on it) but nothing gets obviously executed. Are things that unstable recenty in VBA for powerpoint 2010
how did I run:
- connect to empty slide using 3 lines
- test 1
- test 2
- test 3
on each of the lines I defined an action for each in different modules
run:
- Go into slide show and on the first slide just click.... color changes but nothing happens any more
Saved all closed restarted .... simply refuses except on first created pptm
© Stack Overflow or respective owner