0
I would like to return two values in one foreach
, can help me?
For Each item In Funcao()
teste1 = gostaria de pegar aqui o resultado 1
teste2 = gostaria de pegar aqui o resultado 2
Next
Private Function Funcao() As String
Dim resultado1 As String
Dim resultado2 As String
resultado1 = "Teste"
resultado2 = "Teste2"
Return resultado1
End Function
Did any of the answers solve your question? Do you think you can accept one of them? Check out the [tour] how to do this, if you haven’t already. You would help the community by identifying what was the best solution for you. You can accept only one of them. But you can vote on any question or answer you find useful on the entire site.
– Maniero