Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everyone !

I want to display messagebox while moving from one slide to another.

SlideSelectionChnaged is working fine on windows but giving error on MAC:
"Object does not source automation event".

I came to know that event handling is not supported in PP 2011 for MAC.

So how can I achieve that through manual code?

Thanks
Posted

1 solution

Check this: Create, run, edit, or delete a macro - PowerPoint 2011 for Mac[^]

I'd suggest you to visit this site: VBA in PowerPoint / Mac vs. Windows[^]. There you'll find ...
Quote:
(...) a handy trick if you need to write code that works on both PC and Mac: compiler switches.
VB
#If Mac Then
' Code here will be run only on Macs but ignored on PCs
#Else
' Code here will be run on PCs but ignored on Macs
#End If


For further information, please see: PowerPoint Developer Information[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900