Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am looking for a macro that will select the first blank (empty) cell in a
given column please. Thanks, Mike |
#2
![]() |
|||
|
|||
![]()
Hi Mike
Sub test() Dim GivenColumn As Long GivenColumn = 1 Columns(GivenColumn).Find(What:="", _ After:=Cells(1, GivenColumn), _ LookAt:=xlWhole).Select End Sub HTH. Best wishes Harald "Mike W" skrev i melding ... I am looking for a macro that will select the first blank (empty) cell in a given column please. Thanks, Mike |
#3
![]() |
|||
|
|||
![]()
Brilliant Harald, just what I was trying to do myself, thank you.
Mike "Harald Staff" wrote in message ... Hi Mike Sub test() Dim GivenColumn As Long GivenColumn = 1 Columns(GivenColumn).Find(What:="", _ After:=Cells(1, GivenColumn), _ LookAt:=xlWhole).Select End Sub HTH. Best wishes Harald "Mike W" skrev i melding ... I am looking for a macro that will select the first blank (empty) cell in a given column please. Thanks, Mike |
#4
![]() |
|||
|
|||
![]()
Harald Staff wrote:
Hi Mike Sub test() Dim GivenColumn As Long GivenColumn = 1 Columns(GivenColumn).Find(What:="", _ After:=Cells(1, GivenColumn), _ LookAt:=xlWhole).Select End Sub HTH. Best wishes Harald "Mike W" skrev i melding If the column cell contains space characters instead of an empty string, how would TRIM$ work inside this macro to find the first empty or space(s)-only filled cell in the given column? ... I am looking for a macro that will select the first blank (empty) cell in a given column please. Thanks, Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cell color index comparison | New Users to Excel | |||
up to 7 functions? | Excel Worksheet Functions | |||
Look for change next blank cell in Range | Excel Worksheet Functions | |||
Go to first blank cell | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |