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.
#46865
Código: Selecionar todos
Private Sub Worksheet_Change(ByVal Target As Range)
 If Target.Column < 3 Then Target.Offset(1, 1).Select Else Target.Offset(-1, -2).Select
End Sub
#46868
Boa tarde copie o codigo que voce enviou mas ele pula para celula bem distante , segue uma planilha para voce dar uma olhada.
minha intenção seria , digitar na celula A1 ( data ), na celula B1 ( valor 1 ) e na celula C1 ( valor 2 ) quando pressionar a tecla entra ele volta para a celula A2
Você não está autorizado a ver ou baixar esse anexo.
Editado pela última vez por venturaclaudio em 14 Ago 2019 às 15:00, em um total de 1 vez.
#46874
Código: Selecionar todos
Private Sub Worksheet_Change(ByVal Target As Range)
 If Target.Column < 3 Then Target.Offset(, 1).Select Else Target.Offset(1, -2).Select
End Sub
Você alterou o código que foi postado de Worksheet_Change para Worksheet_SelectionChange :?: :?: :?:
Cole o código SEM QUALQUER ALTERAÇÃO.
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