- Home
·
- Math/Dates
·
- Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5'
Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5'
Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5'
Rate Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5'
(1(1 Vote))
Value = Value + Step
End Sub
Public Sub Dec(ByRef Value As Variant, Optional Step As Variant = 1)
Value = Value - Step
End Sub
Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5' Comments
No comments yet — be the first to post one!
Post a Comment