seragrefaat
Board Regular
- Joined
- Nov 16, 2020
- Messages
- 53
- Office Version
- 365
- Platform
- Windows
I have this line in my code:
I want to change the range to be the selection which comes from the code below:
Can I have some help how to do that?
Thanks
VBA Code:
Set MyRange = ActiveSheet.ListObjects("Table1").HeaderRowRange
I want to change the range to be the selection which comes from the code below:
VBA Code:
With ActiveSheet.ListObjects("Table1").Range
.Offset(0, 1).Resize(, .Columns.Count - 1).Select
End With
Can I have some help how to do that?
Thanks