Adding New Rows in VBA

  • Thread starter Thread starter Captainski009
  • Start date Start date
C

Captainski009

I've created a user form to input data into a table. I need it t
create a new row at the top of the table and insert the data entere
into the form into that new row. Is there a way to do that
 
The easiest way is to 'name' the column heading, and then get VBA to goto the
name, come down one row, then insert a row and make your entry.
The beauty of doing this is that it is bullet-proof against users inserting
rows above column headings. If you need example code - come back

M
 

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