Thread: Counter
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Don is offline
external usenet poster
 
Posts: 19
Default Counter

Sub test()
Range("a1") = Range("a1") + 1
End Sub


"EMoe" wrote in message
...

Hello Programmers!!!

Has anyone seen a code, or know of a code to make a counter in a
certain cell.

The object is to create a button with the macro attached to it.
Everytime you click the button, the number increases by one in the
assigned cell.

Thanks,
EMoe


--
EMoe
------------------------------------------------------------------------
EMoe's Profile:
http://www.excelforum.com/member.php...o&userid=23183
View this thread: http://www.excelforum.com/showthread...hreadid=566474