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.
Por riberex00
Posts
#61330
Boa noite. Qual a linha de programa que poderia fazer com que as datas colocadas fossem classificadas automaticamente, sem a necessidade de utilizar o recurso "DADOS" -> Classificar toda vez que acrescento uma nova data, mesmo que fora de ordem?
Ex: 6/1/2021 e depois eu coloco 2/1/2021; 4/1/2021, etc...
Obrigado.
#61334
Experimente:
#
Código: Selecionar todos
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
 If Target.Count > 1 Then Exit Sub
 If Target.Column > 1 Or Target.Value = "" Then Exit Sub
 [A1:A50].Sort Key1:=[A1], Order1:=xlAscending
End Sub
riberex00 agradeceu por isso
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