Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Private Sub salvar_Click()

totalregistro = Worksheets("Cadastro de Cientes MK").UsedRange.Rows.Count + 1



With Worksheets("Cadastro")
.Cells(totalregistro, 1) = "nome"
.Cells(totalregistro, 2) = "endereo"
.Cells(totalregistro, 3) = "N"
.Cells(totalregistro, 4) = "complemento"
.Cells(totalregistro, 5) = "telefone"
.Cells(totalregistro, 6) = "celular"
.Cells(totalregistro, 7) = "cep"
.Cells(totalregistro, 8) = "cidade"
.Cells(totalregistro, 9) = "indica"
.Cells(totalregistro, 10) = "dia"
.Cells(totalregistro, 11) = "comentadia"
.Cells(totalregistro, 12) = "semana"
.Cells(totalregistro, 13) = "comentasemana"
.Cells(totalregistro, 14) = "mes"
.Cells(totalregistro, 15) = "comentames"
.Cells(totalregistro, 16) = "data1"
.Cells(totalregistro, 17) = "data2"
.Cells(totalregistro, 18) = "data3"
.Cells(totalregistro, 19) = "data4"
.Cells(totalregistro, 20) = "data5"
.Cells(totalregistro, 21) = "data6"
.Cells(totalregistro, 22) = "data7"
.Cells(totalregistro, 23) = "data8"
.Cells(totalregistro, 24) = "cuidado"
.Cells(totalregistro, 25) = "cuidado2"
.Cells(totalregistro, 26) = "cuidado3"
.Cells(totalregistro, 27) = "cuidado4"
.Cells(totalregistro, 28) = "cuidado5"
.Cells(totalregistro, 29) = "cuidado6"
.Cells(totalregistro, 30) = "cuidado7"
.Cells(totalregistro, 31) = "cuidado8"
.Cells(totalregistro, 32) = "LSol1"
.Cells(totalregistro, 33) = "LSol2"
.Cells(totalregistro, 34) = "LSol3"
.Cells(totalregistro, 35) = "LSol4"
.Cells(totalregistro, 36) = "LSol5"
.Cells(totalregistro, 37) = "Lsol6"
.Cells(totalregistro, 38) = "LSol7"
.Cells(totalregistro, 39) = "LSol8"
.Cells(totalregistro, 40) = "maquiagem1"
.Cells(totalregistro, 41) = "maquiagem2"
.Cells(totalregistro, 42) = "maquiagem3"
.Cells(totalregistro, 43) = "maquiagem4"
.Cells(totalregistro, 44) = "maquiagem5"
.Cells(totalregistro, 45) = "maquiagem6"
.Cells(totalregistro, 46) = "maquiagem7"
.Cells(totalregistro, 47) = "maquiagem8"
.Cells(totalregistro, 48) = "corpo1"
.Cells(totalregistro, 49) = "corpo2"
.Cells(totalregistro, 50) = "corpo3"
.Cells(totalregistro, 51) = "corpo4"
.Cells(totalregistro, 52) = "corpo5"
.Cells(totalregistro, 53) = "corpo6"
.Cells(totalregistro, 54) = "corpo7"
.Cells(totalregistro, 55) = "corpo8"
.Cells(totalregistro, 56) = "fragrncia1"
.Cells(totalregistro, 57) = "fragrncia2"
.Cells(totalregistro, 58) = "fragrncia3"
.Cells(totalregistro, 59) = "fragrncia4"
.Cells(totalregistro, 60) = "fragrncia5"
.Cells(totalregistro, 61) = "fragrncia6"
.Cells(totalregistro, 62) = "fragrncia7"
.Cells(totalregistro, 63) = "fragrncia8"
.Cells(totalregistro, 64) = "amostra1"
.Cells(totalregistro, 65) = "amostra2"
.Cells(totalregistro, 66) = "amostra3"
.Cells(totalregistro, 67) = "amostra4"
.Cells(totalregistro, 68) = "amostra5"
.Cells(totalregistro, 69) = "amostra6"
.Cells(totalregistro, 70) = "amostra7"
.Cells(totalregistro, 71) = "amostra8"
.Cells(totalregistro, 72) = "impresso1"
.Cells(totalregistro, 73) = "impresso2"
.Cells(totalregistro, 74) = "impresso3"
.Cells(totalregistro, 75) = "impresso4"
.Cells(totalregistro, 76) = "impresso5"
.Cells(totalregistro, 77) = "impresso6"
.Cells(totalregistro, 78) = "impresso7"
.Cells(totalregistro, 79) = "impresso8"
.Cells(totalregistro, 80) = "artigo1"
.Cells(totalregistro, 81) = "artigo2"
.Cells(totalregistro, 82) = "artigo3"
.Cells(totalregistro, 83) = "artigo4"
.Cells(totalregistro, 84) = "artigo5"
.Cells(totalregistro, 85) = "artigo6"
.Cells(totalregistro, 86) = "artigo7"
.Cells(totalregistro, 87) = "artigo8"
End With
MsgBox "Gravado com Sucesso!"
End Sub

Private Sub UserForm_Click()

End Sub

You might also like