Hi
I have a userform whit a combobox and a commandbutton.
The combobox is populated by text files in a directory.

I need help to import a specific textfile based on the combobox value to sheet2 in my worksheet.
Like this:

1. I select a value in the comboBox let say (6558474).
2. I click on commandbutton.
3. Textfile (6558474) imports to sheet2 in workbook.

I hope this is possible ?
Please Login or Register  to view this content.

test.xlsm

Best regards

Petter