2016-11-14 56 views

回答

0

像这样的东西可以帮助你:

Option Explicit 

Sub TestMe() 

    If Cells(1, 1) = "Veg" Then 
     Rows("1:1").Insert Shift:=xlDown 

     Cells(1, 1) = "Col1" 
     Cells(1, 2) = "Col2" 
     Cells(1, 3) = "Col3" 

    End If 

End Sub 
+0

谢谢Vityata,但我试图做这样的事情在表1中的数据转换到表2.图像 – Harry342

相关问题