G
Guest
HI all,
Im new using macros and im triyng to make something like this:
Im on a slide with topics like:
º Slide 2 (button)
º Slide 3 (button)
º Slide 4 (button)
When i press slide 2 i want to change the bullet type for another one (just
to simulate a visited link, cause this is a button)
i made the macro and it works only in slide construction mode, but not in
the presentation.
The macro is like this:
Sub Macro2()
With ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet
..Visible = msoTrue
With .Font
..Name = "Wingdings"
..Color.RGB = RGB(Red:=204, Green:=153, Blue:=0)
End With
..Character = 252
End With
ActiveWindow.Selection.ShapeRange.ActionSettings(ppMouseClick).Hyperlink.Follow
End Sub
I know that will have to change the
ActiveWindow.Selection.ShapeRange.ActionSettings(ppMouseClick).Hyperlink.Follow
for
ActivePresentation.SlideShowWindow.View.GotoSlide (3) (WORKS)
only this line works, what i have to do with the rest of code to work in
presentation?
Thx
Im new using macros and im triyng to make something like this:
Im on a slide with topics like:
º Slide 2 (button)
º Slide 3 (button)
º Slide 4 (button)
When i press slide 2 i want to change the bullet type for another one (just
to simulate a visited link, cause this is a button)
i made the macro and it works only in slide construction mode, but not in
the presentation.
The macro is like this:
Sub Macro2()
With ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet
..Visible = msoTrue
With .Font
..Name = "Wingdings"
..Color.RGB = RGB(Red:=204, Green:=153, Blue:=0)
End With
..Character = 252
End With
ActiveWindow.Selection.ShapeRange.ActionSettings(ppMouseClick).Hyperlink.Follow
End Sub
I know that will have to change the
ActiveWindow.Selection.ShapeRange.ActionSettings(ppMouseClick).Hyperlink.Follow
for
ActivePresentation.SlideShowWindow.View.GotoSlide (3) (WORKS)
only this line works, what i have to do with the rest of code to work in
presentation?
Thx