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

Tópicos relacionados a códigos VBA, gravação de macros, etc.
#37777
Pessoal,
Ao Incluir um registro (botão Compra) gostaria que ListView1 Selecionasse exatamente o registro Incluido, e automaticamente as TextBoxs mostrassem esse registro.
Como se eu clicasse nesse registro.
O mesmo quero ao Editar um registro (botão Edição).

Resumindo: No ListView, Quero forçar um Click no ítem Incluido ou Alterado.

Obs: também no link: http://www.planilhando.com.br/forum/vie ... 23&t=29681

Grato,
Pedro
Você não está autorizado a ver ou baixar esse anexo.
#37793
Consegui.
Coloquei a função abaixo no Final da Sub PreencheListView

For N = 1 To ListView1.ListItems.Count
If ListView1.ListItems.Item(N).ListSubItems(1).Text = txtCod.Value Then
ListView1.ListItems(N).Selected = True
ListView1.ListItems(N).EnsureVisible
End If
Next N
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