Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Assuntos que não estiverem relacionados as categorias acima. Se não souber em qual categoria sua mensagem se encaixa, envie aqui.
#45023
to tentando atualizar informações no formulario com o seguinte comando:
Private Sub edit_cad_Click()
Worksheets("BASE").Select
x = cad_localizarcx.ListIndex + 3

Cells(x, 1) = cad_1
Cells(x, 2) = cad_2
Cells(x, 3) = cad_3
Cells(x, 4) = cad_4
Cells(x, 5) = cad_5
Cells(x, 6) = cad_6
Cells(x, 7) = cad_7
Cells(x, 8) = cad_8
Cells(x, 9) = cad_9
Cells(x, 10) = cad_10
Cells(x, 11) = cad_11
Cells(x, 12) = cad_12
Cells(x, 13) = cad_13
Cells(x, 14) = cad_14
Cells(x, 16) = cad_16

End sub

mais na planilha ele vai até o cad_7 re torna para situação abaixo sem atualizar os campos e deixando com os anteriores
Private Sub cad_localizarcx_Click()
Worksheets("BASE").Select
totlin = Worksheets("BASE").UsedRange.Rows.Count + 1
For i = 0 To totlin
If cad_localizarcx.ListIndex = i Then
cad_1= Cells(i + 3, 1)
cad_2 = Cells(i + 3, 2)
cad_3 = Cells(i + 3, 3)
cad_4 = Cells(i + 3, 4)
cad_5 = Cells(i + 3, 5)
cad_6 = Cells(i + 3, 6)
cad_7= Cells(i + 3, 7)
cad_8 = Cells(i + 3, 8)
cad_9 = Cells(i + 3, 9)
cad_10= Cells(i + 3, 10)
cad_11 = Cells(i + 3, 11)
cad_12 = Cells(i + 3, 12)
cad_13 = Cells(i + 3, 13)
cad_14 = Cells(i + 3, 14)
cad_16 = Cells(i + 3, 16)

End If
Next
End Sub
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord