Copy a value to the next empty cell in a column

  • Thread starter Thread starter Pete Csiszar
  • Start date Start date
P

Pete Csiszar

Hi All,

I'm in search of little help.

My spreadsheet calculates a value which is located in M13. I would like to
implement a sub that will copy the value in that cell to the next empty cell
in the next column beginning at N19. My plan is to associate the sub with a
button click.
So basically every time I click the button it will copy the current M13
value to the next available cell in the N column beginning a row 19.

Any help would be much appreciated.

Best regards,
Pete
 
try this code

range("M13").Copy destination:=range("N19").End(xlDown).Offset(1,0)
=================
 

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

Back
Top