sum by coding

K

kaja48380

hi
i like to add the two cells by using macro and to display the result
in other cell
 
J

JE McGimpsey

One way:

Public Sub Add2Cells()
Range("C1").Value = Range("A1").Value + Range("B1").Value
End Sub
 

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