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
#71768
Boa tarde Pessoal,
Tenho esse código que Pinta de verde a célula da coluna A, porém preciso pintar a linha da coluna A até a H.
Alguém pode me ajudar?

Plan2.Select
Plan2.Range("A2").Select

With Worksheets("PRODUTOS").Range("A:A")
Set C = .Find(CbbCodigo.Value, LookIn:=xlValues, Lookat:=xlWhole)

If Not C Is Nothing Then
C.Activate
C.Offset(0, 0).Interior.Color = &H80FF80 'verde
C.Offset(0, 7).Value = Date
Else
'MsgBox "Não localizado", vbInformation, ""
End If

End With
Editado pela última vez por miltonleandro em 15 Jul 2022 às 14:46, em um total de 1 vez.
Por osvaldomp
#71771
Código: Selecionar todos
If Not c Is Nothing Then
 c.Resize(, 8).Interior.Color = &H80FF80 'verde
 c.Offset(0, 7).Value = Date
Else
'MsgBox "Não localizado", vbInformation, ""
End If
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