Hi,
I'm trying to format the current selection as Table2.
My code:
How do I get rid of that A1:CP52 range and just do current selection?Range("A1").Select Range(Selection, Selection.End(xlToRight)).Select Range(Selection, Selection.End(xlDown)).Select ActiveSheet.ListObjects.Add(xlSrcRange, Range("$A$1:$CP$52"), , xlYes).Name = _ "Table2"
Thanks.