Tag: 编码风格

传统的Excel VBA编写方式是什么?

有没有更紧凑和/或传统的方式来写这个? With ActiveSheet.QueryTables.Add(Connection:="URL;http://carbon.brighterplanet.com/flights.txt", Destination:=Range("A2")) .PostText = "origin_airport=MSN&destination_airport=ORD" .RefreshStyle = xlOverwriteCells .SaveData = True .Refresh End With PostText在第二行时是否有Connection写在第一行?