Finding first Null value in range?

K

Karl Thompson

This always return an error:

LastRow = Application.Match("", Range("E1:E240"), 0)

though E90 is blank.

What gives?
 
T

Tom Ogilvy

LastRow = Cells(rows.count,5).End(xlup).Row
might work

or
LastRow = Range("E241").End(xlup).Row

Regards,
Tom Ogilvy
 

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

Top