I have a Macro that converts the table back to Range.
The problem occurs if there is no table name in Sheet3.
I need the macro to skip this step then and continue
The problem occurs if there is no table name in Sheet3.
I need the macro to skip this step then and continue
VBA Code:
Sub ConvertTableToRange5()
Dim rList As Range
Dim ws As Worksheet
' Source - delete table Name
Sheets("Sheet3").Select
For Each ws In Worksheets(Array("SourceTab"))
'If "SourceTab" dont Exist Then Next = >>> HERE I need a code
With ws.ListObjects(1)
Set rList = .Range
.Unlist ' convert the table back to a range
End With
With rList
.Interior.ColorIndex = xlColorIndexNone
.Font.ColorIndex = xlColorIndexAutomatic
.Borders.LineStyle = xlLineStyleNone
End With
Next ws
Cells.Select
Selection.Delete Shift:=xlUp