I am new in VBA and I am trying to write a macro that will find a column that contains dates in my data and select a column next to it.
Date is something like:
Date    output
01/02/2011  200
02/02/2011  200
03/02/2011  200
I have tried:
Sub Macro5()
    With ActiveSheet.Cells
        .Find(what:=vbDate).Select
    End With
    ActiveCell.Offset(0, 1).Select
    ActiveCell.EntireColumn.Select
End Sub
but it doesn't work as expected. Can anyone give me a solution, please?
 
     
     
     
    