srw1983
New Member
- Joined
- Jul 14, 2009
- Messages
- 10
Greetings folks!
I just recorded this Macro in my spreadsheet:
'Format as Excel Table
ActiveSheet.ListObjects.Add(xlSrcRange, Range("$A$1:$Q$230"), , xlYes).Name = _ "Table1"
ActiveSheet.ListObjects("Table1").TableStyle = "TableStyleMedium16"
The problem is, that the rows in my table increase day by day. I tried to put in UsedRange, but that just got me an error message.
Maybe there is another way to format the UsedRange as a Table?
Thank you for your responce in advance and best regards,
Stefan
I just recorded this Macro in my spreadsheet:
'Format as Excel Table
ActiveSheet.ListObjects.Add(xlSrcRange, Range("$A$1:$Q$230"), , xlYes).Name = _ "Table1"
ActiveSheet.ListObjects("Table1").TableStyle = "TableStyleMedium16"
The problem is, that the rows in my table increase day by day. I tried to put in UsedRange, but that just got me an error message.
Maybe there is another way to format the UsedRange as a Table?
Thank you for your responce in advance and best regards,
Stefan