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
Avatar do usuário
Por 7Noronha
Avatar
#64652
Fala pessoal, como vocês estão?

Este é meu código para atualizar um trabalho meu:

Range("AJ2").Select
ActiveCell.FormulaR1C1 = "=[TOTAL.xls]Plan2!R7C35"
Range("AJ3").Select
ActiveCell.FormulaR1C1 = "=[TOTAL.xls]Plan2!R21C35"
Range("AJ4").Select
ActiveCell.FormulaR1C1 = "=[TOTAL.xls]Plan2!R30C34"
Range("AI6").Select
ActiveWorkbook.RefreshAll
ActiveSheet.Shapes.Range(Array("SETOR")).Select
ActiveWorkbook.SlicerCaches("SegmentaçãodeDados_SETOR").PivotTables(1). _
PivotCache.Refresh

Queria aplicar um update link para onde ele busca as células, está funcionando, porém quando implemento o método ele falha, podem me ajudar?
Editado pela última vez por 7Noronha em 22 Mai 2021 às 09:50, em um total de 1 vez.
Por babdallas
#64655
Anexa um exemplo fictício para ajudar no entendimento, por favor.
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