I need to increase a number which is held in a cell by 1

G

Guest

How do i increase a cell which has a number in it, eg, cell a8 has 4
i want to run a If statment that looks at another cell and if true i want
cell a8 to increse to 5
 
B

Bob Phillips

You need VBA.

The code is simple in itself (Range("A1").Value = Range("A1").Value + 1),
but what will trigger the addition to happen.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top