Hi,
Iam Working with VBA in Excel and trying to import a list of Numbers into a Userform (Listbox). The userform is a search-formular wich is connected to a database and generates a Report in Excel with the asked Data.
Now how can i import a list of numbers from excel into the Listbox so that the numbers can be searched in the Database and Displayed in the Report?
I have already the command to open some File:
Private Sub CommandButtonIMPORT_Click()
ChDir "\"
ChDrive "c:\"
Datei = Application.GetOpenFilename("Micrsoft Excel-File (*.xlsx),*.xls,Textdateien (*.txt),*.txt")
If Filename = False Then Exit Sub
Now i need to import the numbers from excel or text-file to that box!
I would appreciate if somebody could give me some help!
