Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pol pol is offline
external usenet poster
 
Posts: 129
Default how to know the active column is empty ?

Current cell is Y1 and I want to know the active column is empty . Please
adivice me to find the column is empty or not?

With thanks

pol
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default how to know the active column is empty ?

Hi,

Is this a VB question? It sounds like

Dim Emty As Boolean
Emty = WorksheetFunction.CountA(ActiveCell.EntireColumn) = 0

Will return TRUE or FALSE
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"pol" wrote:

Current cell is Y1 and I want to know the active column is empty . Please
adivice me to find the column is empty or not?

With thanks

pol

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default how to know the active column is empty ?

and if you have formulas returning blank to be considered as blank then

Application.COUNTBLANK(Activecell.EntireColumn)=Ro ws.Count

--
Jacob


"pol" wrote:

Current cell is Y1 and I want to know the active column is empty . Please
adivice me to find the column is empty or not?

With thanks

pol

  #4   Report Post  
Posted to microsoft.public.excel.misc
pol pol is offline
external usenet poster
 
Posts: 129
Default how to know the active column is empty ?

Thanks for the reply and due to my concern let me ask one question, would it
work in 2003 version excel. ? Pls advice


With thanks

pol
"Jacob Skaria" wrote:

and if you have formulas returning blank to be considered as blank then

Application.COUNTBLANK(Activecell.EntireColumn)=Ro ws.Count

--
Jacob


"pol" wrote:

Current cell is Y1 and I want to know the active column is empty . Please
adivice me to find the column is empty or not?

With thanks

pol

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
Mark active row in column A (VB question) Ben Excel Discussion (Misc queries) 4 May 29th 08 06:55 PM
How do I highlight the active row and column headers? GaryW Setting up and Configuration of Excel 2 August 29th 07 03:26 PM
How I can change colour of row and column which are active ? hb Excel Discussion (Misc queries) 1 September 18th 06 01:49 PM
macro- move down to empty cell & active worksheet EducatingMom Excel Worksheet Functions 3 August 4th 06 11:02 PM
How to locate the Row and Column of an Active Cell Fred Excel Discussion (Misc queries) 1 December 7th 05 05:55 PM


All times are GMT +1. The time now is 12:40 PM.

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"