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
Por topscore
Posts
#71453
Pessoal, seguinte:

Preciso de um código para inserir rodapé Automático e não consigo especificar a fonte.
O texto do rodapé está na célula "O198". A Fonte é "Autography" (está baixada e instalada, funciona normal nas células). Tamanho 8 e, se possível, cor azul.
Código: Selecionar todos
Application.PrintCommunication = False
With ActiveSheet.PageSetup
.RightFooter = "&8 " & "Autography" & Range("O198").Value
End With
Application.PrintCommunication = True
Ele está escrevendo "Autography" + o texto da "O198", não entendeu que é fonte. Nem ideia de como definir a cor.

Podem ajudar? Com uma cor azul qualquer, depois eu arrumo.
Desde já, obrigado.
Avatar do usuário
Por Foxtri
Posts Avatar
#71546
Olá
Veja se funciona.
With ActiveSheet.PageSetup
.RightFooter = "&K0000FF "&""Autography"" &8" & Range("O198").Value
End With
Até
Foxtri
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