PDA

View Full Version : [SOLVED:] Macro not running



palex
03-31-2015, 09:04 PM
Hello,
I have one simple macro that is not running when the graphic is clicked in presentation mode (nothing happens upon click). The action settings for the graphic are set to "Run macro" and its name. Macros are enabled, and the code is simply:


Sub asub()
Dim a As Integer
a = 25
MsgBox "a=" & a
End Sub

The macro runs when I select Tools --> Macros --> Run macro

Any thoughts? Thanks so much!

palex
04-03-2015, 09:26 AM
Anyone have any ideas? I am clueless as to why nothing happens when I click the image in presentation mode.

Paul_Hossler
04-03-2015, 10:11 AM
Works fine for me in PP 2010

Paul_Hossler
04-03-2015, 10:16 AM
Delete the .zip part since .pptm files can't be uploaded for some reason

Aussiebear
04-11-2015, 05:34 PM
As of today, PPTM files may now be uploaded

John Wilson
04-12-2015, 10:28 AM
When you mouse over the graphic in show mode does the cursor change to the hand icon?

palex
05-09-2015, 04:49 AM
John -
Yes, I do get the hand icon, but nothing happens upon click. This is still a mystery. I can get it to work initially, but then if I save it in .pptm format, close the file and reopen it, it no longer functions.

By the way, I'm using PowerPoint for Mac 2011.

Thanks so much,
Paul

palex
05-09-2015, 05:43 AM
Solved it... The problem was that there was an exclamation point in the filename!

John Wilson
05-10-2015, 01:44 AM
I should have spotted that. It also applies to PC files and I had seen it before but forgotten that the ! has a special meaning in vba.