vba - Visual Basic: Increasing integer every 3 clicks -
so question pretty title says: how integer increase 1 every 3 clicks of button? example, let's integer 900. click button1 once, again, again, , on third click integer changes 901. how can accomplished?
thanks in advance.
use counter 3 times larger behind scene. start @ 2700 instead of 900, , increase value 1 each click.
when want display value increases every third click, divide counter three:
displayvalue = counter \ 3
Comments
Post a Comment