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.
Por estyfodense
Posts
#57945
eU QUERO COPIAR INFORMAÇÃO DE UMA PLANILHA PARA OUTRA , EU QUERIA CRIAR A FUNÇÃO DO UNITIL para enquanto o nome da plailha aberta igual a da condição ele copiar as informações dela planilha e colar na outra. sO QUE EU não consigo fazer essa comparação.


Sub DB_consolidar()

Dim lin1, lin2, lin3
Dim arq As String


lin1 = 17


Do Until Sheets("Base ").Cells(lin1, 119).Value = Empty
arq = Sheets("Base ").Cells(lin1, 119).Value
Workbooks.Open (ThisWorkbook.Path & "\BD\" & arq & ".xlsx")

lin2 = 2

Do Until ActiveWorkbook.Name = Workbooks("PRODUTO ESTOQUE ").Name
linha_fim = Range("A2").End(xlDown).Row

Sheets(1).Range("C2:K" & linha_fim).Copy
ThisWorkbook.Sheets(1).Range("C3").PasteSpecial


Loop


ActiveWorkbook.Close
lin1 = lin1 + 1

Loop
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