I have written code below to convert a table to a range
However I get a run time error "object does'nt support this property or method" and code below is highlighted
See full code
It would be apprciated if someone could kindly assist me
However I get a run time error "object does'nt support this property or method" and code below is highlighted
Code:
With .UsedRange
See full code
Code:
Sub ConvertTabletoRange()
With Worksheets("Reports Outstanding")
.ListObjects(1).Unlist
With .Range("A1:D1").Font
.Bold = True
.Color = vbBlack
With .UsedRange
.Borders.LineStyle = xlContinuous
.Borders.Weight = xlThick
.Cells.Interior.ColorIndex = xlNone
End With
End With
End With
End Sub
It would be apprciated if someone could kindly assist me