Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I defined a range containing empty cells in column C: Dim emptycells As Range Set emptycells = Columns("C:C").SpecialCells(xlCellTypeBlanks) How can I define another range that contains all rows in which these empty cells occur? Thanks, Stefi |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Stefi,
Try: Dim EmptyCells As Range On Error Resume Next Set EmptyCells = Columns("C:C"). _ SpecialCells(xlCellTypeBlanks).EntireRow On Error GoTo 0 --- Regards, Norman "Stefi" wrote in message ... Hi All, I defined a range containing empty cells in column C: Dim emptycells As Range Set emptycells = Columns("C:C").SpecialCells(xlCellTypeBlanks) How can I define another range that contains all rows in which these empty cells occur? Thanks, Stefi |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Norman, how simple it is if one knows the answer!
Stefi €˛Norman Jones€¯ ezt Ć*rta: Hi Stefi, Try: Dim EmptyCells As Range On Error Resume Next Set EmptyCells = Columns("C:C"). _ SpecialCells(xlCellTypeBlanks).EntireRow On Error GoTo 0 --- Regards, Norman "Stefi" wrote in message ... Hi All, I defined a range containing empty cells in column C: Dim emptycells As Range Set emptycells = Columns("C:C").SpecialCells(xlCellTypeBlanks) How can I define another range that contains all rows in which these empty cells occur? Thanks, Stefi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Defining a range | Excel Programming | |||
Defining a range for a look up | Excel Programming | |||
Defining a range and use it's value | Excel Programming | |||
Defining a Range | Excel Programming | |||
Defining range | Excel Programming |