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

Dim S,M As Double Private Sub cmd1_Click() Dim myRange As Range Set myRange=Worksheets(1).Range("A1:A15") S=Pr1.Module1.SumaVector(myRange) Label1.

Caption=S End Sub Private Sub cmd2_Click() Dim myRange As Range Set myRange=Worksheets(1).Range("A1:A15") M=Pr1.Module1.MaxVector(myRange) Label2.Caption=M Private Sub cmd3_Click() Set myForm=Pr1.UserForm1 myForm.Hide End Sub

You might also like