Find cells question ?

  • Thread starter Thread starter Mario Reiley
  • Start date Start date
M

Mario Reiley

Hi, Group



How can I find the how many cells fill in entire column are?



a.k In the cell A1 how many cells to have data.





Best regard

Mario
 
Select the range and then use selection.cells.count.

Robert Flanagan
Macro Systems
Delaware, U.S. 302-234-9857
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel
 
MsgBox Application.CountA(ActiveCell.EntireColumn)

--
Jim Rech
Excel MVP
| Hi, Group
|
|
|
| How can I find the how many cells fill in entire column are?
|
|
|
| a.k In the cell A1 how many cells to have data.
|
|
|
|
|
| Best regard
|
| Mario
|
|
 
Thank for respond me but there is a little problem

this way : Application.CountA(ActiveCell.EntireColumn) leave the empty cells
without count.

I need to find the last cell in the entire column with data..

You know another way ?

Best regard
Mario
 
Perhaps...

MsgBox Cells(65536, ActiveCell.Column).End(xlUp).Address

--
Jim Rech
Excel MVP
| Thank for respond me but there is a little problem
|
| this way : Application.CountA(ActiveCell.EntireColumn) leave the empty
cells
| without count.
|
| I need to find the last cell in the entire column with data..
|
| You know another way ?
|
| Best regard
| Mario
|
|
| "Jim Rech" <[email protected]> escribió en el mensaje
| | > MsgBox Application.CountA(ActiveCell.EntireColumn)
| >
| > --
| > Jim Rech
| > Excel MVP
| > | > | Hi, Group
| > |
| > |
| > |
| > | How can I find the how many cells fill in entire column are?
| > |
| > |
| > |
| > | a.k In the cell A1 how many cells to have data.
| > |
| > |
| > |
| > |
| > |
| > | Best regard
| > |
| > | Mario
| > |
| > |
| >
| >
|
|
 
Dim rng as Range
set rng = cells(rows.count,activecell.Column).End(xlup)
rng.Select
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top