Edley, alterei apenas a rotina Cad_Cred e Limpar_Cad_Cred, veja se lhe atende, e se atender tente estender o raciocinio para as demais
Sub CAD_CRED()
Dim uLin As Long
uLin = Sheets("BD.CRED.").Cells(Cells.Rows.Count, "A").End(xlUp).Row + 1
Application.ScreenUpdating = False
Sheets("BD.CRED.").Range("A" & uLin) = Sheets("CAD.CRED").Range("C4").Value
Sheets("BD.CRED.").Range("B" & uLin) = Sheets("CAD.CRED").Range("C5").Value
Sheets("BD.CRED.").Range("C" & uLin) = Sheets("CAD.CRED").Range("C6").Value
Sheets("BD.CRED.").Range("D" & uLin) = Sheets("CAD.CRED").Range("C7").Value
Sheets("BD.CRED.").Range("E" & uLin) = Sheets("CAD.CRED").Range("C8").Value
Sheets("BD.CRED.").Range("F" & uLin) = Sheets("CAD.CRED").Range("C9").Value
Sheets("BD.CRED.").Range("G" & uLin) = Sheets("CAD.CRED").Range("C10").Value
Sheets("BD.CRED.").Range("H" & uLin) = Sheets("CAD.CRED").Range("C11").Value
Sheets("BD.CRED.").Range("I" & uLin) = Sheets("CAD.CRED").Range("C12").Value
Sheets("BD.CRED.").Range("J" & uLin) = Sheets("CAD.CRED").Range("C13").Value
Sheets("BD.CRED.").Range("K" & uLin) = Sheets("CAD.CRED").Range("C14").Value
Sheets("BD.CRED.").Range("L" & uLin) = Sheets("CAD.CRED").Range("C15").Value
Sheets("BD.CRED.").Range("M" & uLin) = Sheets("CAD.CRED").Range("C17").Value
Sheets("BD.CRED.").Range("N" & uLin) = Sheets("CAD.CRED").Range("C18").Value
Sheets("BD.CRED.").Range("O" & uLin) = Sheets("CAD.CRED").Range("C19").Value
Sheets("BD.CRED.").Range("P" & uLin) = Sheets("CAD.CRED").Range("C20").Value
LIMPAR_CAD_CRED
Application.ScreenUpdating = True
End Sub
Sub LIMPAR_CAD_CRED()
Range("C4,C5,C6,C7,C8,C10,C11,C12,C13,C14,C15,C17,C18,C19,C20").ClearContents
Range("C4").Select
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 12/03/2013 5:36 am