Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I got a spreadsheet that in sheet1 have a list of names in a range (for
example, A31:A1000) and some of the cells are in blanks. I need to copy the list of names to sheet2 without the empty cells. How can I do that? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assume the names are constants and not produced by formula
with Worksheets("Sheet1") .Range("A31:A1000").SpecialCells(xlconstants, _ xlTextValues).copy worksheets("sheet2").range("A1") End With -- Regards, Tom Ogilvy "anamarie30" wrote: I got a spreadsheet that in sheet1 have a list of names in a range (for example, A31:A1000) and some of the cells are in blanks. I need to copy the list of names to sheet2 without the empty cells. How can I do that? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete Rows with Empty Cells with empty column 1 | Excel Programming | |||
Excel - Autom. Filter "Empty / Non Empty cells" should come first | Excel Discussion (Misc queries) | |||
How can I convert empty strings to empty cells? | Excel Discussion (Misc queries) | |||
macro to colour empty cells (cells not recognized as empty) | Excel Programming | |||
Can blank cells created using empty Double-Quotes not be empty?? | Excel Programming |