Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to sum in excel?

Status
Not open for further replies.

cbouvry

Technical User
Feb 26, 2006
4
BE
I've made a button in excel and i want to add a macro to it. The purpose is to add "1" to the content of cell"J8". So each time i press the button, J8 should become 1 bigger. (example: J8 was "54", after pressing the button it should be "55")
Could someone help me?
thx!!
 
It's for a poll i'm making. Each question has mumltiple answers. I would make a button for each answer. Only clicking the button would would adjust the number of responses of that answer. but i have no idea what vb script i have to put.
 
Have you used VBA before? (not being funny - just trying to establish level of knowledge)
 
yes, but long ago. the solution might be very simple, but i can't repeal it.
 
the code you require is:

Range("J8").value = Range("J8").value + 1

You should be able to find out how to create a module and add a sub routine / macro into it from the help files...
 
Hi

I'm try to get excel to add some numbers as i enter them in each row continuosly. every time i enter numbers in a row it adds them automatically.

can anyone help?

thanks
alph
 


4808,

Please post your question in a new thread.

Skip,
[sub]
[glasses] [red]Be Advised![/red] A man's home is his castle...
in a Manor of speaking. [tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top