I have a code for a button that creates a new column at theend of a table. After the new column is added, I would like to have theformulas from the previous table column to fill into the new column. The datain the table should be the only formulas filling to the right (table headersshould not fill, just the data from the table). Here is the code for adding the newcolumn:
Please and thank you
Code:
With Sheets("Competitor Comparison").ListObjects("CompComparisonTable")
.ListColumns.Add(.ListColumns.Count + 1).Name = Range("C2")
.ListColumns(.ListColumns.Count - 1).Range.EntireColumn.Copy
.ListColumns(.ListColumns.Count).Range.EntireColumn.PasteSpecial Paste:=xlPasteFormats
End With
Please and thank you