my actual code
dim emptyrow as long
'make sheet2 active
sheet2.activate
'determine emptyrow
emptyrow = worksheetfunction.counta(range("a:a")) + 1
'transfer information
cells(emptyrow, 1).value = nametextbox.value
cells(emptyrow, 2).value = qdate.value
cells(emptyrow, 3).value = materialdept.value
if optionbutton1.value = true then
cells(emptyrow, 4).value = "internal"
else
cells(emptyrow, 4).value = "external"
end if
cells(emptyrow, 5).value = duration.value
'this is where i face problem,the multiple selection items must be stored individually for the same quotation in different rows along with other data
cells(emptyrow, 6).value = materialcode.value
cells(emptyrow, 7).value = depthead.value