klarc28
Sinceramente nao entendi isso
Eu apenas limpei seu codigo.
Sub FILTRO()
Range("B51:K70").ClearContents
Range("B74:K93").ClearContents
Range("B100:K119").ClearContents
Range("B27:K46").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("G7:G8"), _
CopyToRange:=Range("B51:K70"), Unique:=False
Range("Planilha1!Extract").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("I7:J8"), _
CopyToRange:=Range("B74:K93"), Unique:=False
Range("B74:K93").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("Planilha1!Criteria"), _
CopyToRange:=Range("Planilha1!Extract"), Unique:=False
End Sub
Sub Macro19()
Range("B51:K70").ClearContents
Range("B74:K93").ClearContents
Range("B100:K119").ClearContents
Range("B27:K46").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("G7:G8"), _
CopyToRange:=Range("B51:K70"), Unique:=False
Range("Planilha1!Extract").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("I7:J8"), _
CopyToRange:=Range("B74:K93"), Unique:=False
Range("Planilha1!Extract").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range("L7:M8"), _
CopyToRange:=Range("B100:K119"), Unique:=False
End Sub
Marcelo Prudencio
Microsoft Excel Brasil no Facebook
"Começar já é a metade do caminho."
Autor Desconhecido
Simplifica que simples fica.
Nicole Tomazella.
"O Simples é Sempre Melhor Que o Complicado"
Jorge Paulo Lemann.
Postado : 14/04/2018 7:36 am