Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Finding empty rows

How can I write a sub-routine that will look for an empty row. I.E. Rows
B2 to B7 have already numbers or texts in these cells. It will check if
the cells are empty or not. If a cell is used it skip down to next cell
and until it finds an empty cell. In this case the empty cell will be
B8.



*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Finding empty rows

Try this:
Range("B" & Range("B" & Rows.Count).End(xlUp).Row + 1).Select

Regards,
Stefi

€˛ogopogo5€¯ ezt Ć*rta:

How can I write a sub-routine that will look for an empty row. I.E. Rows
B2 to B7 have already numbers or texts in these cells. It will check if
the cells are empty or not. If a cell is used it skip down to next cell
and until it finds an empty cell. In this case the empty cell will be
B8.



*** Sent via Developersdex http://www.developersdex.com ***

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Finding empty rows

Hi Stefi
Thank you for the help. I copied & paste and tested, it works. Once
again,thank you.



*** Sent via Developersdex http://www.developersdex.com ***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Finding empty rows

You are welcome! Thanks for the feedback!
Stefi

€˛ogopogo5€¯ ezt Ć*rta:

Hi Stefi
Thank you for the help. I copied & paste and tested, it works. Once
again,thank you.



*** Sent via Developersdex http://www.developersdex.com ***

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding empty rows ogopogo5 Excel Programming 1 October 8th 08 02:43 AM
Finding 5 consecutive empty rows JPL Excel Programming 4 June 4th 04 11:39 AM
finding empty rows and deleting Ryan Excel Programming 3 April 22nd 04 05:53 AM
Finding Empty Rows Tom Ogilvy Excel Programming 0 July 16th 03 04:54 PM
Finding Empty Rows Don Guillett[_4_] Excel Programming 0 July 16th 03 04:50 PM


All times are GMT +1. The time now is 10:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"