Created
February 13, 2013 04:18
-
-
Save tombrad/4942229 to your computer and use it in GitHub Desktop.
Prototipos VBA-3-8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub UserForm_Activate() | |
ComboBox1.AddItem "Haber" | |
ComboBox1.AddItem "Debe" | |
ComboBox1.Text = ComboBox1.List(1) | |
TextBox1.Text = Date | |
ComboBox2.SetFocus | |
If Hoja1.Cells(1, 1) <> "" Then | |
For z = 1 To 500 | |
ComboBox2.AddItem Hoja1.Cells(z, 1) | |
Next z | |
Rem deja en blanco el combo | |
ComboBox2.Text = "" | |
End If | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment