I am trying to run a macro to edit a table's formatting including table totals. Some tables do not have table totals and this is creating an error. How do I insert an is error inside my code?
Range("A2").Select
ActiveSheet.ListObjects("Table1").TableStyle = "TableStyleMedium8"...