luu4466
07-20-2021, 08:09 AM
Good morning.
I am using Microsoft Powerpoint 2013 Macro Enabled Presentation.
I would like to display this.
28760
But when I use the slide show mode, i get this.
28761
Do you know why?
Here is my code:
Option Explicit
Sub Label1Plus1()
Label1.Caption = (Label1.Caption) + 1
End Sub
Sub Label1Minus1()
Label1.Caption = (Label1.Caption) - 1
End Sub
Sub Label1Reset()
Label1.Caption = 0
End Sub
Sub Label2Plus1()
Label2.Caption = (Label2.Caption) + 1
End Sub
Sub Label2Minus1()
Label2.Caption = (Label2.Caption) - 1
End Sub
Sub Label2Reset()
Label2.Caption = 0
End Sub
Sub ResetandExit()
Label1.Caption = 0
Label2.Caption = 0
ActivePresentation.SlideShowWindow.View.Exit
End Sub
I am using Microsoft Powerpoint 2013 Macro Enabled Presentation.
I would like to display this.
28760
But when I use the slide show mode, i get this.
28761
Do you know why?
Here is my code:
Option Explicit
Sub Label1Plus1()
Label1.Caption = (Label1.Caption) + 1
End Sub
Sub Label1Minus1()
Label1.Caption = (Label1.Caption) - 1
End Sub
Sub Label1Reset()
Label1.Caption = 0
End Sub
Sub Label2Plus1()
Label2.Caption = (Label2.Caption) + 1
End Sub
Sub Label2Minus1()
Label2.Caption = (Label2.Caption) - 1
End Sub
Sub Label2Reset()
Label2.Caption = 0
End Sub
Sub ResetandExit()
Label1.Caption = 0
Label2.Caption = 0
ActivePresentation.SlideShowWindow.View.Exit
End Sub