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

Tudo que estiver relacionado ao Excel básico, como somar, calcular média, colocar bordas, etc.
Por manilha
Posts
#11765
srs boa tarde, como, no intervalo B3:K18, ao clicar 2x em uma célula vazia aparecer a palavra "aprovado".

preciso fechar o 2º bimestre aqui na escola e gostaria de agilizar o trabalho.
Por AndersonLeal
Posts
#11771
Olá,

Vá no editor do Visual Basic (Alt + F11) e insira o código abaixo no módulo da planilha:
Código: Selecionar todos
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Row > 2 And Target.Row < 18 And _
    Target.Column > 1 And Target.Column < 12 Then
     ActiveCell.Value = "Aprovado"
End If
End Sub
Abraç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