我有一個數組創建一個數組陣列陣列VBA
這裏我的代碼:
Dim servers(2) As String
Dim parameters(3) As String
Dim i, j As Integer
parameters(0) = "db1"
parameters(1) = "server1"
parameters(2) = "user1"
parameters(3) = "password1"
For i = 0 To 2
For j = 0 To 3
servers(i) = parameters(j)
Next j
Next i
我做了一個圖形化的例子,結果,我真的不知道該怎麼做: https://i.stack.imgur.com/1uSme.png
UDT的是如此被低估。這應該是被接受的答案。 –