You are on page 1of 2

Private Sub CheckBox1_Click()

Oferta.Show

End Sub

Private Sub CheckBox2_Click()


D�zimo.Show
End Sub

Private Sub CommandButton1_Click()

UserForm3.Show

End Sub

Private Sub Frame1_Click()

Plan1 = E2

End Sub

Private Sub Salva_Click()

Range("A1").EntireRow.Insert
Range("B2").Value = Nome.Value
Range("C2").Value = Oferta.Value
Range("D2").Value = D�zimo.Value
Range("E2").Value = Data.Value

Nome.Text = ""
Oferta.Text = ""
D�zimo.Text = ""
Data.Text = ""

End Sub

Private Sub UserForm1_Activate()


With UserFormTelaCheia
.Width = Application.Width
.Height = Application.Height
.Left = Application.Left
.Top = Application.Top
End With
End Sub

Private Sub Salva_Click()

Range("A3").EntireRow.Insert
Range("B3").Value = Nome.Value
Range("C3").Value = Oferta.Value
Range("D3").Value = D�zimo.Value
Range("E3").Value = Data.Value

Nome.Text = ""
Oferta.Text = ""
D�zimo.Text = ""
Data.Text = ""
End Sub

Private Sub UserForm3_Activate()


With UserFormTelaCheia
.Width = Application.Width
.Height = Application.Height
.Left = Application.Left
.Top = Application.Top
End With
End Sub

You might also like