Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

First Empty Cell?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gabe - 28 Jan 2006 00:39 GMT
Hello,

I currently have this in part of my Sub, which basically selects a range
from the active cell to the last nonempty cell.

Range(ActiveCell, ActiveCell.End(x1Down)).Select

Question: How do I get it to select the first cell that is empty?
Gabe - 28 Jan 2006 01:11 GMT
Nevermind I got it,

ActiveCell.End(xlDown)(2, 1).Select

> Hello,
>
[quoted text clipped - 4 lines]
>
> Question: How do I get it to select the first cell that is empty?
Leith Ross - 28 Jan 2006 01:21 GMT
Hello Gabe,

This will select the first empty cell at the bottom of the column the
active cell is in. Not really sure this what you want though.

ActiveSheet.Cells(Rows.Count, ActiveCell.Column).End(xlUp).Offset(1,
0).Select

Sincerely,
Leith Ross

Signature

Leith Ross

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.