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.
  • Avatar do usuário
#21354
Olá queridos,
eu tenho um código que verifica se na célula contem a palavra CRITÉRIO, porém esse célula ela busca a informação através da seguinte fórmula:

Olá,

Possuo uma célula com a seguinte fórmula:
Código: Selecionar todos
=SEERRO(PROCV(D11;CONFIG!D:E;2;FALSO);"")
O que preciso é consultar se nessa célula o valor é DÍZIMO.

Estou usando a seguinte formula em VB
Código: Selecionar todos
 If Target.Value = "DÍZIMO" Then
Não está funcionando, se na célula que tem a formula que obtem o resultado dízimo eu apagar e colocar o nome dízimo funciona.

Quem puder ajudar, ficarei agradecido.
#21472
alexandrevba escreveu:Bom dia!!

Qual o evento que você está usando, geralmente usa se o evento:Calculate()
Código: Selecionar todos
Private Sub Worksheet_Calculate()
Att
Olá querido,
a fórmula é essa
Código: Selecionar todos
Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Application.Intersect(Target, Range("B2:B10")) Is Nothing Then
    'Cancel = True
        If Target.Value = "dízimos" Then
            UserForm1.Show
        End If
    End If
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