Следующий макрос напечатает список элементов из указанного комбинированного списка в указанный текстовый файл. Измените имя макроса, а также, соответственно, путь и имя файла назначения.
'Force the explict declaration of variables
Option Explicit
Private Sub CommandButton1_Click()
'Declare the variables
Dim destFile As String
Dim fileNum As Long
Dim i As Long
'Assign the path and file name for the destination file (change accordingly)
destFile = "C:\Users\Domenic\Desktop\sample.txt"
'Get the next available file number
fileNum = FreeFile()
'Print list items from combobox to destination file
Open destFile For Output As #fileNum
With Me.ComboBox1
For i = 0 To .ListCount - 1
Print #fileNum, .List(i)
Next i
End With
Close #fileNum
MsgBox "Completed!", vbExclamation
End Sub