Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default find next NOT empty cell in column

Bernie,

I just tested it and that's exactly what I needed.
I can't thank you enough for your help.

Max


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Max,

A lot depends on what you consider "Blank"

With the activecell in column A:

If Intersect(ActiveCell.Offset(1, 0), _
ActiveCell.EntireColumn.SpecialCells(xlCellTypeBla nks)) Is
Nothing Then
ActiveCell.Offset(1, 0).Select
Else
If ActiveCell.End(xlDown).Row < Rows.Count Then
ActiveCell.End(xlDown).Select
End If
End If

This can be re-written for use with a range object so that selecting a
cell isn't needed...

HTH,
Bernie
MS Excel MVP


"Max Bialystock" wrote in message
...
How can I find the next not empty cell in column A?




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
Find first empty cell in column TomHull Excel Discussion (Misc queries) 1 November 9th 09 05:16 AM
Find first empty cell in column TomHull Excel Discussion (Misc queries) 2 November 9th 09 01:37 AM
How to: Find first empty cell in column DW Excel Worksheet Functions 18 October 12th 07 05:57 AM
Find First empty cell at end of Column A DG Excel Programming 7 December 19th 06 06:20 PM
Find a empty cell in next column Michael Excel Discussion (Misc queries) 3 June 15th 05 02:18 PM


All times are GMT +1. The time now is 07:45 AM.

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

About Us

"It's about Microsoft Excel"