if u want first empty row according first column u can use:
Set b = Cells(1, 1)
i = 1
Do
i = i + 1
Loop Until b.Offset(i, 0) = ""
nextrow = i
Main Topics
Browse All TopicsI just recently got your response for an earlier ?? to EE. Which is below.
Dim nextRow As Long
nextRow = Cells(65536, 1).End(xlUp).row + 1
The problem is that my sheet looks like this:
Cols. A B C
December 16, 2005 Fri 6:19 AM
December 17, 2005 Sat 7:18 AM
December 18, 2005 Sun 6:22 AM
December 19, 2005 Mon 7:19 AM
Average End Times
With your answer it looks for the first empty row in column "A", but I have the text "Average End Times" in row 23. So, when I run my VBA it puts the data in row 24. How do I ignore that row for checking the next empty row??
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: ampapaPosted on 2005-12-20 at 06:05:43ID: 15518356
If your saying that you want your data to start on the row that is empty above row 23 then change the start of the macro to.
Dim nextRow As Long
nextRow = Cells(23, 1).End(xlUp).row + 1
ampapa,