powerpoint vba macro not running when shape is clicked -
i have created powerpoint presentation runs macros click of shape on slide. however, not able run macro presentation, editor.
i have searched site , found suggestions toward using activepresentation rather activewindow. however, using activepresenation can see in below code. msgbox not come up. ideas?
sub start_game() msgbox "making things invisible" dim integer dim slide_count integer dim shape shape = 1 slide_count = activepresentation.slides.count msgbox slide_count = 1 slide_count each shape in activepresentation.slides(i).shapes if shape.name = "answer_block" activepresentation.slides(i).shapes("answer_block").visible = false end if next next end sub
Comments
Post a Comment