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
  • Avatar do usuário
  • Avatar do usuário
#28111
Boa noite
preciso de copiar automaticamente células na vertical intercaladas de uma folha de Excel para outra folha na horizontal
ex:
Copiar a célula c1 da folha 1 para a folha 2 na célula b3; copiar a célula c10 da folha 1 para a célula c3 da folha 2; copiar a célula C20 da folha 1 para a célula d3.
No folha 1 existe um espaço de 10 linhas livres da mesma coluna para copiar para a linha 3 da folha 2
existe alguma formula para este caso?
Obrigado
CDias
#28125
Bom dia!!

Já tentou algo assim?
Código: Selecionar todos
Sub AleVBA_5786()
    Worksheets("Plan2").Range("B3").Value = Worksheets("Plan1").Range("C1").Value
    Worksheets("Plan2").Range("C3").Value = Worksheets("Plan1").Range("C10").Value
    Worksheets("Plan2").Range("D3").Value = Worksheets("Plan1").Range("C20").Value
End Sub
OU
Insiri a formula na Plan2
=Plan1!C1
=Plan1!C10


Etc

Caso contrário poste seu arquivo modelo!

Att
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