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 / September 2007

Tip: Looking for answers? Try searching our database.

Last Cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Little Penny - 25 Sep 2007 04:01 GMT
How do I select cell L4 to last cell?
Joel - 25 Sep 2007 04:42 GMT
Sub test()

LastRow = Cells(Rows.Count, "L").End(xlUp).Row
LastCol = Cells(4, Columns.Count).End(xlToLeft).Column
Set MyRange = Range("L4", Cells(LastRow, LastCol))
MyRange.Select
End Sub

> How do I select cell L4 to last cell?
 
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.