Add data to new row each time data is entere
Solved/Closed
Hello,
I'hv created a VBA form to enter dad like Names,numbers,date,time etc.Each time the form is run and data is entered it should be added to new row.The data entered is never dupicate so there is no need to verify that.But adding data to the next new row is my problem.I want the first 4rows of sheet to be headre row and so my dad should get added from 5th row.How do I do this?
I'hv created a VBA form to enter dad like Names,numbers,date,time etc.Each time the form is run and data is entered it should be added to new row.The data entered is never dupicate so there is no need to verify that.But adding data to the next new row is my problem.I want the first 4rows of sheet to be headre row and so my dad should get added from 5th row.How do I do this?
Related:
- Add data to new row each time data is entere
- Tmobile data check - Guide
- Popcorn time download - Download - Movies, series and TV
- Gta 5 data download for pc - Download - Action and adventure
- Digital data transmission - Guide
- 2007 microsoft office add-in microsoft save as pdf or xps - Download - Other
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Feb 19, 2010 at 08:14 AM
Feb 19, 2010 at 08:14 AM
Having not seen how you are doing it. All I can suggest is that find the last used row and add one to it. If the result if 4 or less then make it 5
If col A will always have data then you can use this to find last row
lastrow = cells(65536,1).end)xlup).row
lastrow = lastrow + 1
if lastrow < 5 then lastrow = 5
If col A will always have data then you can use this to find last row
lastrow = cells(65536,1).end)xlup).row
lastrow = lastrow + 1
if lastrow < 5 then lastrow = 5
Feb 19, 2010 at 08:49 PM