📜  在表中添加新列的 vba 代码 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:57.299000             🧑  作者: Mango

代码示例1
Dim Table As ListObject
  Set Table = Sheet1.ListObjects("Table1")
  Table.ListColumns.Add 2
  Table.HeaderRowRange(2) = "New header"