Sameer.k21
Member
Hi,
I am trying to resize my selection using current region by 3 rows above the range selected.
Please advise if this is possible.
Regards,
Sameer
I am trying to resize my selection using current region by 3 rows above the range selected.
Code:
Dim LastRow, LastCol As Long, rng As Range
With ActiveSheet
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Select
' LastCol = .Cells(1, .Columns.Count).End(xlToLeft).Column
Selection.CurrentRegion.Select
'Selectino.resize(
With Selection.CurrentRegion
.Cells(1, 1).Resize(Selection.Rows.Count + 5, .Columns.Count).Select
End With
Selection.Delete shift:=xlToLeft
End With
Regards,
Sameer