How can I change "263" ("$G$5:$K$263")", in the formula for the number of LastRow?
LastRow = Cells(65000, 1).End(xlUp).Row
Range("G5:K5").Select
Range(Selection, Selection.End(xlDown)).Select
ActiveSheet.ListObjects.Add(xlSrcRange, Range("$G$5:$K$263"), , xlNo).Name = _
"NewCase"
Thanks.
LastRow = Cells(65000, 1).End(xlUp).Row
Range("G5:K5").Select
Range(Selection, Selection.End(xlDown)).Select
ActiveSheet.ListObjects.Add(xlSrcRange, Range("$G$5:$K$263"), , xlNo).Name = _
"NewCase"
Thanks.