I know this will tell me how many rows I have:
But I have a column of data with empty cells interspersed. How do I find the first cell in the column with data in it?Please Login or Register to view this content.
I know this will tell me how many rows I have:
But I have a column of data with empty cells interspersed. How do I find the first cell in the column with data in it?Please Login or Register to view this content.
Hello bishoposiris,
To find the first cell in a column with data on the active sheet :
Please Login or Register to view this content.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Star below the post.3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
We're close. This is my code currently:
Here is my range G2:G15 (EditLastRow is 15 in this case):Please Login or Register to view this content.
Your code sets EditDateCell to 2/18/2014 18:17 which is the last row. How do I make it set EditDateCell to 2/18/2014 1:00 which is the first row?Please Login or Register to view this content.
Hello bishoposiris,
Sorry, I forgot to set the starting point to the last cell. The next cell will then be the first con empty cell.
Corrected Code
```Please Login or Register to view this content.
Super! One last piece...
What's the correct syntax to make this work:
I've tried:Please Login or Register to view this content.
andPlease Login or Register to view this content.
but I keep getting errors. EditDataCell isPlease Login or Register to view this content.
Please Login or Register to view this content.
Hello bishoposiris,
This should work.
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks