title: int variable isn't changing VBA PowerPoint
body: <p>i have this code in module1</p>
  
  <pre><code>Dim sum As Integer
  Sub Wrong()
  MsgBox ("Îòâåò íåâåðíûé. ïîïðîáóéòå åù¸ ðàç")
  End Sub
  Sub Right()
  sum = sum + 1
  MsgBox ("Âñå âåðíî")
  SlideShowWindows(1).View.Next
  End Sub
  Sub RightLast()
  MsgBox ("Congratulations!")
  End Sub
  </code></pre>
  
  <p>So, when i call a Right function in it doesn't change the "sum". Nani the frick?</p>