Ok i have created a form and the user can enter two peices of data
'Item No.' and 'No. of items'. After the user has entered these it ask
if you would like to enter another record. When i click yes and ente
another record it enters the information in the same place as th
previous record i entered. I want it to move down a row everytime
enter a new record. Is there any code available for this? THank
Your code finds the last row and goes back 19 rows. So my code certainly
isn't equivalent. You also write in columns a and b, but changed mine to
write in F and G
the only thing that would cause this line
set rng = Worksheets("sheet3").Cells(rows.count,6).end(xlup)(2)
to error would be if you don't have a sheet with a tab name of sheet3. Then
you would get a subscript out of range error.
So, without knowing more about your layout and where you want to write your
data, it would be hard to say what you should do.
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.