Hi everyone, I have a question with VBA, if anyone could help me, I would be very grateful. I think it's a pretty noobie question
I need, from a selected column, to select those items that contain data. I hope it will be better understood with the following image:
https://ibb.co/kd1cEJ
Using the macro recorder, I got the following code, which for some reason does not work.
Sub example()
Range(Selection, Selection.End(xlUp)).Select
End Sub
Thanks.
I need, from a selected column, to select those items that contain data. I hope it will be better understood with the following image:
https://ibb.co/kd1cEJ
Using the macro recorder, I got the following code, which for some reason does not work.
Sub example()
Range(Selection, Selection.End(xlUp)).Select
End Sub
Thanks.