Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Dominique
Try: Sub Tester01() Dim FirstBlank As Range If IsEmpty(Range("A1")) Then Set FirstBlank = Range("A1") ElseIf IsEmpty(Range("A2")) Then Set FirstBlank = Range("A2") Else Set FirstBlank = Range("A1").End(xlDown)(2) End If End Sub --- Regards, Norman "Dominique Feteau" wrote in message ... How do I write a line in a macro I'm trying to create. What I want is for it to start in A1 and basically go to the next blank cell going down in Column A? How do i do that? Niq |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need macro to move to first blank cell in column | Excel Discussion (Misc queries) | |||
how to move contents in column up one cell | Excel Worksheet Functions | |||
Remove Civic numbers in Street Address, move to previous blank cell | Excel Worksheet Functions | |||
Move the last entry in a column to a different cell, when the loc. | Excel Worksheet Functions | |||
Move Cell in Column A to Column B when FIND | Excel Programming |