gpt4 book ai didi

vba - 在 vba 中循环遍历具有索引的数组并获取特定索引处的元素

转载 作者:行者123 更新时间:2023-12-02 22:06:49 25 4
gpt4 key购买 nike

我现在正在尝试这样的事情

Dim myAddress() As String
myAddress= Split("4th Street NW Washington, DC")

For intI = 1 To UBound(myAddress)
`how can i access myAddress[intI+1] from here?
Next intI

最佳答案

试试这个:

Dim myAddress() As String
myAddress= Split("4th Street NW Washington, DC")

For intI = 1 To UBound(myAddress)
Console.WriteLine(myAddress(intI))
Next intI

关于vba - 在 vba 中循环遍历具有索引的数组并获取特定索引处的元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15974406/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com