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

Dúvidas sobre cálculos, funções simples e aninhadas, fórmulas matriciais, etc.
  • Avatar do usuário
#28425
O osvaldomp, criou a solução pretendida no tópico "formatar baseado em valor já formatado" mas por falha minha esqueci de perguntar como tirar a formatação quando clicar no botão reset.
Código do reset:
Sub Resetar_1()
Application.EnableEvents = False
Range("B:D,CB:CD").Interior.ColorIndex = -4142 'aqui não deveria tirar a formatação geral
Columns("AM:AR").ClearContents
Application.EnableEvents = True
End Sub

Imagem
#28427
Você quer pintar as células AM4:AR30 de preto, é isso?
Se sim, acrescente a segunda linha abaixo.
Código: Selecionar todos
...
...
Columns("AM:AR").ClearContents
Range("AM4:AR30").Interior.Color = vbBlack
...
...
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