Skip to content

Instantly share code, notes, and snippets.

@tombrad
Created February 13, 2013 04:21
Show Gist options
  • Save tombrad/4942238 to your computer and use it in GitHub Desktop.
Save tombrad/4942238 to your computer and use it in GitHub Desktop.
Prototipos VBA-3-11
Private Sub UserForm_Activate()
If Hoja1.Cells(1, 1) <> "" Then
For z = 1 To 500
ComboBox1.AddItem Hoja1.Cells(z, 1)
Next z
Rem deja en blanco el combo
ComboBox1.Text = ""
End If
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment