vba code to add new column in table

The solution for “vba code to add new column in table” can be found here. The following code will assist you in solving the problem.

Dim Table As ListObject
Set Table = Sheet1.ListObjects(“Table1”)
Table.ListColumns.Add 2
Table.HeaderRowRange(2) = “New header”

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts