Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
Public Sub SelectFirstBlankCellInRow() Const cnPARTICULARROW As Long = 2 With Cells(cnPARTICULARROW, 1).Resize(1, 2) If Application.CountA(.Cells) < 2 Then .Item(2 + IsEmpty(.Item(1).Value)).Select Else .Item(1).End(xlToRight).Offset(, 1).Select End If End With End Sub Change cnPARTICULARROW as needed to your particular row number. In article , mushy_peas wrote: I need a macro that selects the next blank cell in a particaular ROW? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to return a blank formula cell if the reference is blank? | Excel Worksheet Functions | |||
Average Formula to display blank cell if named range is blank | Excel Worksheet Functions | |||
how to get excel to display blank if reference cell blank | Excel Worksheet Functions | |||
How do I make a blank cell with a date format blank? | Excel Worksheet Functions | |||
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. | Excel Discussion (Misc queries) |