Insert the value from an input box

  • Thread starter Thread starter Tempy
  • Start date Start date
T

Tempy

Hi, i need to insert a value into a cell in a different worksheet to the
one that i am working in.
I need to start at A1 and go down to the end of the list and insert the
input box value in the next empty space.
Could somebody please help with some code, thanks in advance.

Tempy
 
something akin to

ans = Inputbox(value)

With worksheets("Sheet2")
.Cells(.Cells(Rows.Count,"A").End(xlUp).Row+1,"A").Value = ans
End With
 

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