0
Good morning
My goal is to transpose in vba these 2 lines to (in this case 6 lines)
I mean, what I want is to repeat all the information but then I just want to have a column of privileges even if I’ve repeated all the rest of the information
Dim countprivilegios As Integer
Dim linha As Integer
Dim colunaprivilegio As Integer
Dim folhaorigem As String
Dim folhadestino As String
Dim userlinha As String
Dim nomelinha As String
folhaorigem = "Extração Enterprise User InaAct"
folhadestino = "Extração Enter UsersInaActiv"
linhafolhaorigem = 2
colunaprivilegio = 18
userlinha = ""
nomelinha = ""
Do While linha <> ""
Do While colunaprivilegio <> ""
'(o que devo colocar aqui)
imprimir folhaorigem, folhadestino, linhafolhaorigem
colunaprivilegio = colunaprivilegio + 1
Loop
linha = linha + 1
Loop
I didn’t find the question very clear, see [Ask]. And create a [mcve] with the answer data of what you want with that data. Also read how to accept answers
– danieltakeshi