Como faço para incluir os comandos (funções)
Sub teste()
aut_total "08/01/14", Range("B10"), Range("B6")
aut_total "08/02/14", Range("C10"), Range("C6")
aut_total "08/03/14", Range("D10"), Range("D6")
aut_total "08/04/14", Range("E10"), Range("E6")
aut_total "08/05/14", Range("F10"), Range("F6")
aut_total "08/06/14", Range("G10"), Range("G6")
aut_total "08/07/14", Range("H10"), Range("H6")
aut_total "08/08/14", Range("I10"), Range("I6")
aut_total "08/09/14", Range("J10"), Range("J6")
aut_total "08/10/14", Range("K10"), Range("K6")
aut_total "08/11/14", Range("L10"), Range("L6")
aut_total "08/12/14", Range("M10"), Range("M6")
aut_total "08/13/14", Range("N10"), Range("N6")
aut_total "08/14/14", Range("O10"), Range("O6")
End Sub
em um loop? Assim nâo precisaria trocar as datas uma a uma quando o mês muda.
Postado : 27/08/2014 9:34 am