ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Ignoring cells with no value (https://www.excelbanter.com/excel-programming/296124-ignoring-cells-no-value.html)

louis2112[_4_]

Ignoring cells with no value
 
I am naming certain ranges so I can easily copy them to other sheets
but how do I make excel ignore the cells with no values.

Thanks

Loui

--
Message posted from http://www.ExcelForum.com


Chris

Ignoring cells with no value
 
count function

----- louis2112 wrote: -----

I am naming certain ranges so I can easily copy them to other sheets,
but how do I make excel ignore the cells with no values.

Thanks

Louis


---
Message posted from http://www.ExcelForum.com/



Bob Flanagan

Ignoring cells with no value
 
Louis you can check to see if a cell is Not empty by a statement like:

If Not IsEmpty(activecell) then
'do copy of cell to destination
End if

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"louis2112 " wrote in message
...
I am naming certain ranges so I can easily copy them to other sheets,
but how do I make excel ignore the cells with no values.

Thanks

Louis


---
Message posted from http://www.ExcelForum.com/




louis2112[_5_]

Ignoring cells with no value
 
Well im trying to do this for a range of cells
To be more clearer.

I want to copy cells A3-A20 and ignore the cells with no value, and
paste them to a different sheet in this process.

Thanks for the help.


Louis


---
Message posted from http://www.ExcelForum.com/



All times are GMT +1. The time now is 02:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com