Home » questions » How to select all the rows in excel that has a atleast 1 value in it.?
How to select all the rows in excel that has a atleast 1 value in it.?
I want 2 select all the rows in excel that has atleast 1 key entry in it. There are no blank rows in between. I want to achieve this in a excel macro. Can anyone help me please? Thank you.
I am adding a bit more info. We are actually creating multiple spreadsheets in a macro which is then uploaded into mainframe datasets and then updated to a database thru a job. If we have any blank lines in the spreadsheet in the end, the load job will abend. These spreadsheets are actually created using a XL template which again has blank lines at the end. I mean blank lines like when u press "CTRL+ SHIFT+END", if the rows selected has some blank rows, then they are also copied into the new spreadsheets created by the macro which causes the mainframe job to abend. All I wanted here is if I do "CTRL+SHIFT+END", it should only the rows which has atleast 1 valid value. How can I do that. Please let me know if you need more info. Thank you.

Answers
Lewiy
On 2006-08-13 11:51:28
Dilip Rao
On 2006-08-13 09:03:10
jlcaooscl
On 2006-08-11 07:12:44
XLMan
On 2006-08-12 07:03:00