Sub Clear_Format_Table() Dim WS As Worksheet, oTbl As ListObject On Error GoTo Error_Routine Set oWS = Application.ActiveSheet With oWS 'Format table For Each oTbl In .ListObjects oTbl.TableStyle = "" Next oTbl 'Format range .Cells.ClearFormats End With Exit Sub Error_Routine: MsgBox Err.Description, vbExclamation, "Something went wrong!" End Sub
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.