I have the error 91 in VBA
with the following code:
Dim i, c, b, a,
With wsMissingSCM2.ListObjects("tblReportData2")
.TableStyle = "TableStyleLight6"
'
' LocationColumn
'
i = 1
.ListColumns(i).DataBodyRange.HorizontalAlignment = xlCenter 'ERROR HERE
.HeaderRowRange.Columns(i).Value = "Missing Item"
.ListColumns(i).DataBodyRange.ColumnWidth = 14
Any suggestion?