Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-29-2018, 12:36 PM
Chayes Chayes is offline Select all cells in a column , even when blank... Windows XP Select all cells in a column , even when blank... Office 2003
Advanced Beginner
Select all cells in a column , even when blank...
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default Select all cells in a column , even when blank...

Hi All




I use this code to select all of the cells from the active one down to the bottom of the column :


Range(ActiveCell, Cells(Rows.Count, ActiveCell.Column).End(xlUp)).Select


However , if the last few cells of the particular column happen to be blank , it doesn't select them.


Can someone help with a way to modify the code so that all cells in the column are selected to the bottom , irrespective of being blank or not? It needs somehow to find bottom-most cell of the whole sheet and then select to there , rather than solely in the specific column in question.



Grateful for any advice.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Select all cells in a column , even when blank... Vlookup fill down blank cells in column mbesspiata Excel Programming 8 09-26-2016 04:44 AM
Auto Fill only Blank Cells in a Column mbesspiata3 Excel Programming 1 09-22-2016 07:18 PM
Return Sum value of one column from cells not blank in another column zulugandalf Excel 3 08-14-2014 03:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft